Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 71

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
03/23/14 07:49 PM (10 years ago)

Need some help with go to screen code.

Hi guys, I've been digging through my own Shake Plugin and some of Kittsy's code and for the life of me I can't replicate the code to go to a specified screen. For one of my plugins, I need it to go to a specified screen in the Control Panel when "success" is detected (at the end of a certain method of mine). Does anyone have any code they can share to push to a specified screen? ...or if anyone wants to add that specific code to the plugin, more then happy to pay for those services - I've pretty much spent a whole day trying to do it myself and sometimes you just have to admit defeat. Cheers, David http://btmods.com/chat
 
PaddyO
Lost but trying
Profile
Posts: 189
Reg: Sep 11, 2013
Geelong
5,190
like
03/23/14 08:09 PM (10 years ago)
You mean like this? Chris & Smug shared this with me a little while back: -(void)openWhatEver { [BT_debugger showIt:self message:@"openWhatEver"]; myapp_appDelegate *appDelegate = (myapp_appDelegate *)[[UIApplication sharedApplication] delegate]; BT_item *screenToLoad = [appDelegate.rootApp getScreenDataByItemId:@"F00000000000000D"]; [self loadScreenObject:screenToLoad]; }
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
03/24/14 01:49 AM (10 years ago)
Thanks @Paddy, somewhat what I needed, have stored it in my snippets. :-) @Stobe (Chris) was able to help with my issue, dude is a BEAST! Cheers! David http://btmods.com/chat
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.