objective c - Blank screen in iOS app without nib file -


I'm trying to create an app without using a nib file in Objective-C, but any of my objects appear on the object Not giving the screen when I run it in the simulator I think that the error is either appreciated somewhere either in my AppDelegate or ViewController is greatly appreciated.

AppDelegate.h:

#import & lt; UIKit / UIKit.h & gt; #import "ViewController.h" @ Interface AppDelegate: NSObject & lt; UIApplicationDelegate & gt; {UIWindow * window; ViewController * viewController; } @ Property (strong, non-fixed) UIWindow * window; @ Property (strong, non-fixed) ViewController * viewController; @end

AppDelegate.m

  #import "AppDelegate.h" @Interface AppDelegate () @end @implementation AppDelegate @ynthesize window; Modify the ViewController; - (BOOL) Application: (UIApplication *) Application FinishLaunchingWithOptions: (NSDictionary *) Launch option {window = [[UIWindow alloc] initWithFrame: [[UIScreen main screen] border]]; ViewController = [ViewController New]; [Window settuiew controller: view controller]; [Window-making and knowledgeable]; Yes come back } @end  

ViewController.h:

  #import & lt; UIKit / UIKit.h & gt; #import "LoginView.h" @ View Interface Controller: UIViewController - (ID) init; @end  

ViewController.m:

  #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (id) init { Self = [super init]; If (self) {} returns back to himself; } - (zero) Load View {View Log View Views • Log Inview = [New Log View]; Self.view = loginView; } - (zero) viewDidoadload [[Super Viewedload]; } - (zero) did risiv memorialisation [[super davidimmemi warning]; // Any resource settlement which can be reproduced } @end  

Sorry for poor formatting.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -