running code after opening modal ipad window -
I am opening a modal window with the iPad SDK.
[parent current model view controller: myPopup animated: yes];
Its view in the MyPopup view has a lot of building code in the system and therefore there is a 3 or 4 segment break, while the view of my popup is being created before popup animation is started.
What I want to do only creates the basics of my popup scene and then calls all the coredata calls and the rest of the scenes after animated popup is created on the screen.
Can I currently put a selector or something in Model Viewer's Animation so that I can call a method after completing the animation and building? I have tried Dedeppiar and ViewPaper and they have never been called for the Model Popup (I debug), so nothing has been made!
- (void) VisualEvent: (BOOL) animated {[Super Viewer app: Yes]; [Self build];
Thankyou very much.
Enter your building code -viewDidAppear:
was loaded instead.
The building should be done after the screen is animated on the screen, however, the UI will also be closed when your building code is running until you remove it from the main thread.
There are several options to do this: Threading, NSOption, Block, etc.
Comments
Post a Comment