UI管理接口
更多...
#import <BNUIManagerProtocol.h>
◆ continueExitPage:animated:extraInfo:
| - (void) continueExitPage: |
|
(BNavi_ExitPage_Type) |
exitType |
| animated: |
|
(BOOL) |
animated |
| extraInfo: |
|
(NSDictionary *) |
extraInfo |
|
|
| |
|
required |
继续退出导航。 如果shouldOverrideExitingPage返回NO,这个方法等同于exitPage 如果shouldOverrideExitingPage返回YES,自定义方法里面不能直接用exitPage,需要用continueExitPage
- 参数
-
| exitType | <#exitType description#> |
| animated | <#animated description#> |
| extraInfo | <#extraInfo description#> |
◆ exitPage:animated:extraInfo:
| - (void) exitPage: |
|
(BNavi_ExitPage_Type) |
exitType |
| animated: |
|
(BOOL) |
animated |
| extraInfo: |
|
(NSDictionary *) |
extraInfo |
|
|
| |
|
required |
退出导航页面 注意,如果shouldOverrideExitingPage返回YES,调用exitPage方法不会退出导航,而是调用用户自定义的overrideExitingPage
- 参数
-
| exitType | BNavi_ExitPage_Type类型 |
| animated | 是否需要动画 |
| extraInfo | 额外参数 |
◆ isInNaviPage
◆ navigationController
| - (id) navigationController |
|
|
|
|
required |
◆ showPage:delegate:extParams:
展示导航页面 默认开始真实导航,要开始模拟导航,需要在额外参数传入{BNaviUI_NormalNavi_TypeKey: @(BN_NaviTypeSimulator)}
- 参数
-
| pageType | BNaviUIType类型 |
| delegate | BNNaviUIManagerDelegate代理 |
| extParams | 额外参数 额外参数BNaviUI_NormalNavi_TypeKey:1.真实导航:BN_NaviTypeReal,2.模拟导航:BN_NaviTypeSimulator,3.货车导航:BN_NaviTypeTruck,4.货车模拟导航:BN_NaviTypeTruckSimulator |
该协议的文档由以下文件生成: