Code Monkey home page Code Monkey logo

Comments (4)

migueldeicaza avatar migueldeicaza commented on July 29, 2024

If you use the new style of applications in iOS5, you must set the RootViewController on the UIWindow.

That is a new iOS 5 feature part of the cleanup to bring UIViewController containing into place.

from monotouch.dialog.

migueldeicaza avatar migueldeicaza commented on July 29, 2024

Here are some more details:
http://stackoverflow.com/questions/7520971/applications-are-expected-to-have-a-root-view-controller-at-the-end-of-applicati

from monotouch.dialog.

Emasoft avatar Emasoft commented on July 29, 2024

I've added:

window.RootViewController = navigation;

at the beginning of the Main.cs class, in the FinishedLaunching method. Still get the same error.

from monotouch.dialog.

Emasoft avatar Emasoft commented on July 29, 2024

I downloaded the latest version of MonoTouch.Dialog, but I still get the same error crashing the included "Sample" project with MonoDevelop 2.8.2 and MonoTouch 5.0.2:

2011-11-07 15:18:12.548 Sample[3278:c07] Applications are expected to have a root view controller at the end of application launch

I tried to manually add the controller as root controller, but nothing seems to work. :(

from monotouch.dialog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.