Windows are expected to have a root view control [Solved]


I’m getting this warning when testing my app on the iOS device

…any idea how I can fix this?


I just took the tip, ran Introjucer, and built and ran an existing project on a device, no problem. So it doesn’t seem like the Objective C changes broke anything.

If you don’t have a root view, you probably don’t have a window component on the ‘desktop’ in Juce terms. When is your main window being created and is it on the desktop?


Solved: setContentOwned must precede setVisible in the document window ctor.