popupController Class Reference
Inherits from | NSObject |
---|---|
Declared in | popupController.h |
isiPhone
Indicates if the device is an iPhone or an iPad
@property (nonatomic) BOOL isiPhone
Declared In
popupController.h
– initWithObjects:withController:withLocation:andkey:
Init
- (id)initWithObjects:(NSMutableArray *)array withController:(UIViewController *)controller withLocation:(CLLocation *)location andkey:(NSString *)key
Parameters
array |
Array of popupConfig objects. |
---|---|
controller |
View controller where we add the popup |
location |
User position |
key |
Unique key license |
Return Value
popupController instance
Declared In
popupController.h
– saveLocationUser:
Save user location
- (void)saveLocationUser:(CLLocation *)location
Parameters
location |
User location |
---|
Declared In
popupController.h
– enabledPoiClicked:
Enable popup display on POI click
- (void)enabledPoiClicked:(NSMutableArray *)array
Parameters
array |
POIs Array encapsulating POI clicked object |
---|
Declared In
popupController.h
– checkPOISInView:
Check if POIs in view have been clicked or selected
- (void)checkPOISInView:(NSMutableArray *)poisArray
Parameters
poisArray |
Array with POIs that are in the view |
---|
Declared In
popupController.h
– getVideoFile
Get video file (audio/video action)
- (NSString *)getVideoFile
Return Value
return the video file string
Declared In
popupController.h
– getPicture
Get picture (picture action)
- (UIImage *)getPicture
Return Value
return the picture string
Declared In
popupController.h
– changeInterfaceOrientation:
Change popups
- (void)changeInterfaceOrientation:(UIInterfaceOrientation)orientation
Parameters
orientation |
Interface orientation |
---|
Declared In
popupController.h
– setOrientation:
Save device orientation
- (void)setOrientation:(UIInterfaceOrientation)_orientation
Parameters
_orientation |
Interface orientation |
---|
Declared In
popupController.h