RCLocationPickerViewController Class Reference
| Inherits from | RCBaseViewController : UIViewController |
|---|---|
| Conforms to | CLLocationManagerDelegate UITableViewDataSource UITableViewDelegate |
| Declared in | RCLocationPickerViewController.h |
delegate
地理位置选择完成之后的回调
@property (nonatomic, weak) id<RCLocationPickerViewControllerDelegate> delegateDiscussion
地理位置选择完成之后的回调
Declared In
RCLocationPickerViewController.h
dataSource
位置选择的数据源
@property (nonatomic, strong) id<RCLocationPickerViewControllerDataSource> dataSourceDiscussion
位置选择的数据源
Declared In
RCLocationPickerViewController.h
mapViewContainer
mapViewContainer
@property (nonatomic, strong) IBOutlet UIView *mapViewContainerDiscussion
mapViewContainer
Declared In
RCLocationPickerViewController.h
– initWithDataSource:
初始化地理位置选取的ViewController
- (instancetype)initWithDataSource:(id<RCLocationPickerViewControllerDataSource>)dataSourceParameters
dataSource |
位置选择的数据源 |
|---|
Return Value
地理位置选取的ViewController对象
Discussion
初始化地理位置选取的ViewController
Declared In
RCLocationPickerViewController.h
– leftBarButtonItemPressed:
退出当前界面
- (void)leftBarButtonItemPressed:(id)senderParameters
sender |
返回按钮 |
|---|
Discussion
退出当前界面
SDK在此方法中,会针对默认的NavigationBar退出当前界面; 如果您使用自定义导航按钮或者自定义按钮,可以重写此方法退出当前界面。
Declared In
RCLocationPickerViewController.h
– rightBarButtonItemPressed:
完成位置获取
- (void)rightBarButtonItemPressed:(id)senderParameters
sender |
完成按钮 |
|---|
Discussion
完成位置获取
点击完成按钮的后会调用本函数。
Declared In
RCLocationPickerViewController.h