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

Application windows are expected to have a root view controller at the end of application launch

$
0
0

Not your typical problem relating to this error message. I understand usually that means that the RootViewController on the window isn't set but in my case that isn't the problem.

I made a StackOverflow post on this which can be seen here: http://stackoverflow.com/questions/17788686/strange-behaviour-when-initialising-uisegmentedcontrol

I was hoping to be able to receive some other answers here. It seems to be related to classes which inherit from UIViewController or UIView.

Since that post I made I've done some more digging around and interestingly if I create a UIView inline i.e

var view = new UIView()

I don't seem to get a problem. It's only when I create a class in a separate file that inherits from UIView. I suppose I should mention that I have a lot of classes in this project.

I'd appreciate any help with this problem as I'm running out of ideas on how to fix it


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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