I have a simple web-application that im using native to build.
My application consicts of MainWindow.xlb with is filled with Native View Controller.
Within Native View Controller.m i have the following code:
Looked to messy to copy and paste in here.
I cant seem to understand where i’m going wrong and why my application/ UIWebView always stays portrait.
Im new to iOS development.
Full source code: https://www.dropbox.com/s/i9woti5ptecr9n4/Native.zip
Now it works:
NativeAppDelegate.m
NativeViewController.m
And I also unchecked ScaleToFill in the WebView in InterfaceBuilder otherwise you had to scroll the page to see your hello world.
I removed the Methods for orientation and set the RootviewController for your Window to your ViewController. Your window did not have a RootVieController.