KNVNaviLauncher Class Reference
Inherits from | NSObject |
---|---|
Declared in | KNVNaviLauncher.h |
+ sharedLauncher
카카오내비 실행을 담당하는 singleton 인스턴스
+ (nonnull instancetype)sharedLauncher
Declared In
KNVNaviLauncher.h
– canOpenKakaoNavi
카카오내비 앱이 실행 가능한지 여부를 리턴합니다.
- (BOOL)canOpenKakaoNavi
Declared In
KNVNaviLauncher.h
– shareDestinationWithParams:completion:
카카오내비 앱을 호출하여 목적지를 공유합니댜. 카카오내비 앱이 실행되면 공유한 목적지의 상세화면이 노출됩니다. web 길안내로 실행될 경우 목적지 공유 상세화면 없이 바로 길안내가 시작됩니다.
- (void)shareDestinationWithParams:(KNVParams *)params completion:(nullable KNVNaviCompletionHandler)completion
Parameters
params |
목적지 공유에 필요한 파라미터. (required) |
---|---|
completion |
카카오내비 실행 완료 또는 웹 길안내 노출 시 호출되는 완료 핸들러. |
Declared In
KNVNaviLauncher.h
– navigateWithParams:completion:
카카오내비 앱을 호출하여 목적지까지 길안내를 실행합니다.
- (void)navigateWithParams:(KNVParams *)params completion:(nullable KNVNaviCompletionHandler)completion
Parameters
params |
목적지 길안내에 필요한 파라미터. (required) |
---|---|
completion |
카카오내비 실행 완료 또는 웹 길안내 노출 시 호출되는 완료 핸들러. |
Declared In
KNVNaviLauncher.h
enableWebNavi
카카오내비가 설치되어 있지 않을 때 web 길안내 사용 여부. NO로 설정하면 AppStore로 이동함. default YES.
@property (nonatomic, assign, getter=isEnableWebNavi) BOOL enableWebNavi
Declared In
KNVNaviLauncher.h
presentingViewController
길안내 web view 가 present 될 뷰컨트롤러를 설정. 설정하지 않을 경우 자체적으로 최상단 뷰컨트롤러를 탐색하여 present 함.
@property (nonatomic, weak, nullable) UIViewController *presentingViewController
Declared In
KNVNaviLauncher.h
presentedViewStatusBarStyle
길안내 web view 가 실행되는 동안의 status bar 스타일. 길안내가 종료되면 이전 스타일로 되돌아 감.
@property (nonatomic, assign) UIStatusBarStyle presentedViewStatusBarStyle
Declared In
KNVNaviLauncher.h
presentedViewBarTitleColor
길안내 web view 화면의 상단 바 title 색상.
@property (nonatomic, strong, nullable) UIColor *presentedViewBarTitleColor
Declared In
KNVNaviLauncher.h
presentedViewBarTintColor
길안내 web view 화면의 상단 바 배경색. presentedViewBarBackgroundImage가 설정될 경우 이 속성은 무시 됨.
@property (nonatomic, strong, nullable) UIColor *presentedViewBarTintColor
Declared In
KNVNaviLauncher.h
presentedViewBarButtonTintColor
길안내 web view 화면의 상단 바 버튼 색상.
@property (nonatomic, strong, nullable) UIColor *presentedViewBarButtonTintColor
Declared In
KNVNaviLauncher.h
presentedViewBarBackgroundImage
길안내 web view 화면의 상단 바 배경 이미지. 배경 이미지를 설정하면 presentedViewBarTintColor는 무시 됨.
@property (nonatomic, strong, nullable) UIImage *presentedViewBarBackgroundImage
Declared In
KNVNaviLauncher.h