In the storyboard, add a table view to a plain old view controller (not a table view controller). Anchor the top of it to the bottom of the status bar. Notice in the document outline that the table view is NOT the root view for the controller.
Last active
August 29, 2015 14:01
-
-
Save LutherBaker/b8cfbafbb60212873c88 to your computer and use it in GitHub Desktop.
iOS Cheatsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // AppDelegate | |
| // | |
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
| self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; | |
| UIViewController *root = nil; // replace this line! | |
| self.window.rootViewController = root; | |
| [self.window makeKeyAndVisible]; | |
| return YES; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment