View appears before viewDidLoad finishes

Afternoon everyone,
I use the following code to curlup a view to display another view below. Both views come from xib's.
case 1:
if (pageView1 == nil) {
self.pageView1 = [[PageView1 alloc] initWithNibName:@"PageView1" bundle:nil];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[currentViewController viewWillAppear:YES];
[pageView1 viewWillDisappear:YES];
[currentViewController.view removeFromSuperview];
[self.view insertSubview:pageView1.view atIndex:0];
[pageView1 viewDidDisappear:YES];
[currentViewController viewDidAppear:YES];
if (currentViewController != nil) {
[currentViewController.view removeFromSuperview];
currentViewController = pageView1;
break;
This works fine apart from one small detail and that is that if it is the first time that pageView1 is loaded the computations in viewDidLoad of pageView1.m seem to be only executed after the animation finishes. Since some of the code is used to size labels and perform translations the effect is that those parts affected seem to jump after the animation finishes.
So what you see is: the previous page is curling up. The next page below it (first time only) is shown with incorrectly sized labels/textviews and graphic elements that are repositioned depending on the recalculated textview.frame. The animation finishes and the above mentioned items jump about.
The effect is less severe if caching is off. My guess is that the pageView1 is cached before viewDidLoad finishes building the view. Then when the animation finishes pageView1 viewDidLoad has progressed and the cached view no longer matches the finished view.
Is there (an easy) way to handle this?
Regards

I have now tried this on an actual iPad instead of the simulator I had been testing on sofar and I am getting the jumps now on every re-draw not just the first time around.

Similar Messages

  • Presently using iMac: OS X 10.9.4 (13E28)  1. Open website; click drop-down and this appears:  Before viewing PDF documents in this browser you must launch Adobe reader and accept the end-user license agreement, then quit and relaunch the browser.  2. Usi

    Presently using iMac: OS X 10.9.4 (13E28)
    1. Open website; click drop-down and this appears:
    Before viewing PDF documents in this browser you must launch Adobe reader and accept the end-user license agreement, then quit and relaunch the browser.
    2. Using an iMac, open founder and click downloads
    3. Click AdbeRdr1013_en_US-1.dmg         Apr. 4 2012, 7:11 AM 73 MB Disk Image  Feb 27, 2013, 10:00 AM
    4. Screen indicates it is opening Adobe reader X installer.package
    5. Click this icon
    6. Open Adobe installer; double-click install Adobe reader; putting password to access; click next; Note: Application is already installed; click finish.
    Screen indicates: thank you and enjoy Adobe reader. Click Return to Prior Website. Click install now: total size 99.1 MB
    Initializing arises with the following information: to proceed, open your download folder and locate the Adobe reader installer file, named Adobe reader installer [ XXX].dmg
    It takes me back to steps that have already taken of locating down load file double-click to mount the disk image; double-click install Adobe reader; agreed by clicking open; entering name and password and clicking okay.
    Did this several times with no success.
      11.       www.forums.adobe.com

    Sorry if I failed to mention, I have done this as well.

  • Found 0 results for While browsing eBay, when I watch or bid on an item, and later view it again, many inches of white space appears before item appears. If I delete the clear recent history box, the pages will come up as they should for several times, th

    While browsing eBay, when I watch or bid on an item, and later view it again, many inches of white space appears before item appears. If I delete the clear recent history box, the pages will come up as they should for several times, then go back to a lot of extra white space. How can I prevent this? Thank you, Rick in English
    == This happened ==
    Every time Firefox opened
    == About a month ago

    As stated in 1.:
    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    Obviously, it will not harm your computer provided you follow the instructions. However, if you don't post your results in the thread where you were given those instructions, then the person helping you cannot help you further. As he asks at the end, "please post the test results on Pastebin, then post a link here to the page you created."

  • HT201210 A message appeared on our Ipad wanting to know if we wanted to upgrade to 6.0 but just before it finished it locked up and now I can't get it to come on.  When I connect it to Itunes it tries to restore but then I get a message that says it isn't

    A message appeared on our I Pad wanting to know if we wanted to upgrade to 6.0 but just before it finished it froze up.  Then when I tried to restore it conneting to ITunes it said it wasn't eligible to be restored.  ????

    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • Ical cannot send invites anymore. "?" appears before email address

    I can no longer send invitation to calendar events from Ical. a "?" mark appears before the email address. Have gone into preference and have no idea what might hace affected this.  Any help appreciated.

    I have the exact same problem with a caveat - I shouldn't be using one company's mail server to send invitations related to another company! A corporate resources no-no.
    It would be nice if each calendar could be associated with an email account.
    See http://discussions.apple.com/thread.jspa?messageID=7539832&#7539832 for a full discussion. When iCal invokes Mail to send the invitation Mail uses the preference for 'Send new mail from' which in my case is the 'Account of last viewed mail'. So I can work around the problem by going to Mail, selecting the account that I want iCal to use and then sending the invitation.
    Message was edited by: Ed Gamble

  • My iPod Touch (iOS 6.1.3) keeps cutting off songs before they finish.

    My iPod keeps cutting off songs before they finish. There doesn't seem to be a pattern - it only happens to some songs. It also doesn't cut them all off with the same amount of time remaining. The songs work perfectly when I play them back on iTunes on my laptop.
    I've tried removing and reloading all the music as well as restoring my iPod to its factory settings.
    Please help... it's driving me mad!!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • I want to make a duplicate of my IMovie before I Finish it,but it won't let me (shaded)

    I want to make a duplicate of my IMovie before I Finish it,but it won't let me (shaded). What do I need to do yet?

    Try leaving your Project and go to the Project Library View. Select your project in the Project Library. You can then right-click/Duplicate Project or FILE/Duplicate Project.

  • Portals MSS i-Views load before Team Viewer

    We are using MSS portals and have an issue with i-Views loading before the team viewer has loaded.  This causes an error to appear in the i-views, because there is no data.  For small groups of employees this is not a big issue because it happens very quickly.  However, for larger groups it can cause the errors to appear on the manager's screen for a long period (it is seconds, but when a manager is viewing, it is too long).  My question is, is there a setting that controls the i-views, so that they cannot populate until the team viewer is fully populated.

    Hi Ruth,
    Did you ever resolve this issue?
    I am getting error message 'Cannot connect to R/3' even though I have followed all the guidlines for the connections...thought maybe you have a solution.
    Thanks,
    Parina

  • Make a screen appear before the menu

    I have a couple of things that I would like to appear before the main dvd menu does. In other words I would like something like a company logo to appear first after the dvd is put in the player, and then after that have the main menu appear. Is this possible in idvd and what is the gist of doing it? Thanks.

    it is possible to have a company logo appear prior to the menu but you may need to make it into a movie and drag and drop this logo / QT movie to the first box while in map view.
    btw ... if you also would like to not show the apple logo then you must uncheck this box with iDvd's preferences.
    any questions, just come on back....
    Message was edited by: SDMacuser

  • Mavericks auto-corrects words before I finish typing

    10.9.2, 1.8 GHz i7 mid-2011 MBA, 4GB RAM
    I love using 'Correct spelling automatically' as it saves me a lot of back-pedalling when typing.
    Problem is, it sometimes kicks in while I'm still typing a word. For example, I'll start typing 'found', but as soon as I've typed 'fo', Mavericks sometimes corrects it to 'of'. So by the time I've finished typing the word, I end up with 'ofund'. Usually though, I see the correction appear iOS style as I type 'fo', which then disappears as I complete the word 'found'.
    Is anyone else seeing this? Does anyone have a solution?
    Thanks for reading!

    Checked it, 'fo' is not there. I use custom text substitutions quite heavily. I believe them to be separate from the automatic spelling corrections (like 'the' for 'teh') which don't appear in the text substitutions list.
    The issue as I see it is Mavericks shouldn't change anything, correction or substitution, while typing a word. Space, return and a trackpad click are delimiters that tells Mavericks that typing of a word has finished, and the substitution/correction can be applied. In my case, corrections sometimes appear before I do any of those.
    I could add 'fo' as a substitution for 'fo', but that was just one example. It seems to happen with random pre-delimiter 'errors' at random times.

  • Avoid browser close before quiz finish

    Hi
    i have created one Quiz web application using VS 2008 and i have set 10 min time using timer control to finish the quiz. User should not close the browser before he finishes the quiz within 10 min. After 10 min he can able to close browser close button or
    logout.
    How to achieve this using C# and asp.net. If anybody knows, please reply me.
    Thanks in advance.

    Hello san456,
    Please post ASP.NET related question to http://forums.asp.net/
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Dynamically assign value to bind variable in a view object before pageload

    I found that it is extreamely hard to find an example to assign the bind variable in View object at runtime using a data attribute defined in Human task activity. Most of the available samples use a Literal value to do the assignment. In my case, I want to dynamically display the content by assigning the data attribute in Human task to the bind variable in view object before a pageload.
    I do not want to bind the view object to some command component to click a button or link in order to make it work (Unnecessary components in my page).
    The issue is how to access the data attribute in Human task in the java code of client interface in AppModule? or is there a way that I can access the data attribute in Groovy script expression of the bind variable? or if I can access the process data object defined in my BPM process to do the assignment at runtime?
    Really need help on the issue, and I cannot believe that it is so hard to accomplish.
    Thank you very much,

    chk this
    Passing default value to bind variable on page load.
    http://adfcodebits.blogspot.com/2010/03/bit-2-setting-bind-variable-value.html

  • Creating project as Disc Image after 1 1/2 hours it appeared to be finished but there was message that there was a multiplex error.  Checked and no yellow triangles, music on computer,  any ideas.

    Creating project as Disc Image after 1 1/2 hours it appeared to be finished but there was message that there was a multiplex error.  Checked and no yellow triangles, music on computer, and all resources on computer,  any ideas??

    Hi
    And
    • free space on Start-Up hard disk ? How Much ?
    • Brand and type of DVD used
    • Burn Speed ?
    • Did You try to first do a "Save as a DiskImage" ? If so - Did it work ?
    Yours Bengt W

  • In Lion, Safari pages hang in full screen mode.  If you exit full screen mode, the next page you intended to view appears.

    In Lion, Safari pages hang in full screen mode.  If you exit full screen mode, the next page you intended to view appears.
    This happens nearly every time I use Safari.  I will be clicking on links, when it appears to hang.  By exiting full screen mode, upon minimizing the next page I was intending to view appears.  This does not happen on all websites, but many that I visit.

    Here's a stupid question, but I'm sure I'm not the only one - how exactly DO you minimize the safari fullscreen mode??  I keep reading about orange or yellow tabs which don't exist, at least on my 27 iMac. Control m doesn't work either. I wish Apple would have a basic 3 or 4 page instruction manual on this. Unless there are major bugs still.  By the way, this is only one of many problems I'm having with Safari.  Occasionally the tool bar just dissappears. And, don't get me started about how the dock in Lion simply stopped accepting some icons, including Firefox. None of these problems happened when I first installed Lion. Each upgrade seems to have more bugs, not less.

  • After installing Reader 11.0.07 update on my Mac OS X 10.8.5, when I open an Adobe pdf file I see Chinese script next to the blue loading bar at the bottom of the screen.  This never appeared before and I am concerned that my computer is being hacked into

    After installing Reader 11.0.07 update on my iMac OS X, v.10.8.5, when I open an Adobe pdf file I see Chinese script next to the blue loading bar at the bottom of the screen.  This never appeared before when downloading pdf files and I am worried that my computer is being hacked into or I acquired a virus.  Is this normal or do I have to uninstall this update?

    After installing Reader 11.0.07 update on my iMac OS X, v.10.8.5, when I open an Adobe pdf file I see Chinese script next to the blue loading bar at the bottom of the screen.  This never appeared before when downloading pdf files and I am worried that my computer is being hacked into or I acquired a virus.  Is this normal or do I have to uninstall this update?

Maybe you are looking for