Replace in AppDelegate
[window addSubview:[someController view]];
to
[self.window setRootViewController:someController];
More Related Contents:
- Comparing two values and returning the greatest of the two
- Converting NSString to NSDate gives nil [duplicate]
- Determine device (iPhone, iPod Touch) with iOS
- Should IBOutlets be strong or weak under ARC?
- How to use NSJSONSerialization
- How to get IMEI on iPhone?
- Proper practice for subclassing UIView?
- How do I create a round cornered UILabel on the iPhone?
- Is Silent Remote Notifications possible if user has disabled push for the app?
- ScrollView gesture recognizer eating all touch events
- How to check if UILabel is truncated?
- Why masksToBounds = YES prevents CALayer shadow?
- Creating a UIImage from a UIColor to use as a background image for UIButton [duplicate]
- How to add a button to the MKPointAnnotation?
- Pod install is staying on “Setting up CocoaPods Master repo”
- How to set Image in Tabbar not Tint color in ios?
- Stop UIWebView from “bouncing” vertically?
- Unique Identification of iOS device for iOS 7.0 and above
- How to integrate Facebook without redirect Safari browser in iOS app with latest FBSDK
- UITableView Mix of Static and Dynamic Cells?
- Getting time elapsed in Objective-C
- Why does my programmatically created screenshot look so bad on iOS 7?
- UIBezierPath Triangle with rounded edges
- On iOS8, displaying my app in landscape mode will hide the status bar but on iOS 7 the status bar is displayed on both orientations
- iOS SecKeyRef to NSData
- Find UIAlertView without having reference to it iOS 7
- AVSpeechSynthesizer output as file?
- NEHotspotHelper annotations not appearing
- How can I fix the “UIPopoverController is deprecated” warning?
- MKMapView show incorrectly saved region