Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Pushing to a new view within the ViewDidLoad() method using a UIStoryboardSegue

$
0
0

I've been trying to figure out how to push to a view in the ViewDidLoad() method using a UIStoryboard Segue. So far I haven't had any luck getting it to work. I seem to keep getting an error stating "nested push animation can result in corrupted navigation bar" and "Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted". I looked around and found something talking about turning off the pop animation but I haven't been able to find any more information about it. A post similar to what I need can be found here: http://forums.xamarin.com/discussion/10992/best-approach-for-conditional-loading-of-views-from-root-controller#latest but no answers where ever posted.

If you are wondering why I would want to push to another view in the ViewDidLoad() method it is because I'm checking to see if the user already has some of the user defaults set. If they do then there is no need to grab the same information from them so I want to push them on to the next view.

Any push in the right direction would be useful.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>