Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // this method is an instance method of TiModule subclass
- -(void)openPlayer {
- ENSURE_UI_THREAD_0_ARGS
- // layarController is a subclass of UIViewController
- [[TiApp app] showModalController:layarController animated:YES];
- // layar controller cfg
- [layarController
- loadLayerWithName:layerName
- oauthParameters:oauthParameters
- layerFilters:layerFilters
- options:LPMapViewDisabled|LPListViewDisabled];
- NSLog(@"[INFO] %@ player opened",self);
- }
Add Comment
Please, Sign In to add comment