KMController
Objective-C
@interface KMController : NSObjectSwift
class KMController : NSObjectKMController MapContainer 안에 뷰를 추가하고 관리하기 위한 controller 역할을 하는 interface.
- 
                  
                  Unavailable Use initWithMapConfig: instead. unavailable DeclarationObjective-C - (instancetype _Nonnull)init;
- 
                  
                  Designated initializer. DeclarationObjective-C - (instancetype _Nonnull)initWithViewContainer: (KMViewContainer *_Nonnull)viewContainer;Swift init(viewContainer: KMViewContainer)Return ValueKMController 
- 
                  
                  Engine 준비 엔진이 렌더링 준비를 마치는 경우, MapControllerDelegate의 addViews를 호출한다. DeclarationObjective-C - (BOOL)prepareEngine;Swift func prepareEngine() -> Bool
- 
                  
                  Engine 리셋 생성한 Resource는 모두 릴리즈되므로, stop이후 기존에 사용했던 모든 resource는 사용할 수 없다. DeclarationObjective-C - (void)resetEngine;Swift func resetEngine()
- 
                  
                  엔진 활성화 엔진은 앱이 active 상태일 때에만 활성화 상태에 있어야 한다. 이 시점부터 뷰에 렌더링을 하기 시작한다. DeclarationObjective-C - (void)activateEngine;Swift func activateEngine()
- 
                  
                  엔진 일시정지 이 시점부터는 뷰에 렌더링을 하지 않는다. DeclarationObjective-C - (void)pauseEngine;Swift func pauseEngine()
- 
                  
                  엔진 이슈 확인용 디버그 메세지. DeclarationObjective-C - (NSString *_Nonnull)getStateDescMessage;Swift func getStateDescMessage() -> String
- 
                  
                  SubView를 제거한다. - paramter: 삭제할 subView의 이름
 DeclarationObjective-C - (void)removeView:(NSString *_Nonnull)viewName;Swift func removeView(_ viewName: String)
- 
                  
                  Disk cache를 모두 삭제한다. DeclarationObjective-C - (void)clearDiskCache;Swift func clearDiskCache()
- 
                  
                  Memory cache를 모두 삭제한다. DeclarationObjective-C - (void)clearMemoryCache:(NSString *_Nonnull)viewName;Swift func clearMemoryCache(_ viewName: String)
- 
                  
                  ViewInfo Cache를 모두 삭제한다. DeclarationObjective-C - (void)clearViewInfoCaches;Swift func clearViewInfoCaches()
- 
                  
                  Label, GUI 등에 사용할 외부 폰트를 추가한다. OTF, TTF 포맷을 지원한다. DeclarationObjective-C - (BOOL)addFontWithName:(NSString *_Nonnull)fontName fontData:(NSData *_Nonnull)fontData;Swift func addFont(fontName: String, fontData: Data) -> BoolReturn Value폰트 추가 결과. 성공시 True. 
- 
                  
                  KMController event delegate DeclarationObjective-C @property (nonatomic, weak, nullable) id<MapControllerDelegate> delegate;Swift weak var delegate: (any MapControllerDelegate)? { get set }
- 
                  
                  엔진 활성화 여부 DeclarationObjective-C @property (nonatomic, readonly, getter=isEnginePrepared) BOOL enginePrepared;Swift var isEnginePrepared: Bool { get }
- 
                  
                  ProMotion display support 활성화 여부 DeclarationObjective-C @property (nonatomic, assign, unsafe_unretained, readwrite, setter=enableProMotionSupport:) BOOL proMotionSupport;Swift var proMotionSupport: Bool { get set }
- 
                  
                  렌더링 하고 있는지 여부 DeclarationObjective-C @property (nonatomic, readonly, getter=isEngineActive) BOOL engineActive;Swift var isEngineActive: Bool { get }
 KMController Class Reference
      KMController Class Reference