Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 115

Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
10/15/12 01:33 AM (13 years ago)

help with coding a load screen for iOS

I've been trying to figure out how to attach a loading screen to the new store view feature of iOS 6.0 With RevMob for example - When the ad is activated it now simply loads a store view via the storekit.framework instead of taking the user out of the app and into the app store. I want to make it so that a loading screen appears when the ad begins to load, and then disappears when the user exits out of the store view. Sorry, I guess this is probably driving the conversation off topic. I'll probably just make a new thread about it I asked this in another forum and got this response - "From what I can tell from the docs, you'd start the loading animation, alloc/init the controller, and call loadProduct passing in a completionBlock that stops the loading animation and presents the product view controller if the loading was successful." This unfortunately makes absolutely no sense to me - does anybody care to elaborate on this process?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
10/15/12 06:55 AM (13 years ago)
The only way I can think of doing this is to alter the .m and .h files in the revmob framework. So it would be under the when ad tapped then make one of those wheel things you could modify the xib plugin created by david in the plugin tutorial. Then under the ad closed part but that self.back think in to close the screen. Not the easiest thing to do can I ask why you need it
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
10/15/12 12:20 PM (13 years ago)
Thanks, although I don't believe there is a .m file in the RevMob framework. I'm trying to get the load screen working because the store view that is called by RevMob ads takes 5+ seconds to load
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
10/15/12 01:36 PM (13 years ago)
Really it takes less than a second on my 3GS and the emulator
 

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.