No visible @interface for 'AppDelegate' declares the selector
        Posted  
        
            by 
                coolhongly
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by coolhongly
        
        
        
        Published on 2012-06-20T15:09:26Z
        Indexed on 
            2012/06/20
            15:16 UTC
        
        
        Read the original article
        Hit count: 639
        
I'm now writing a registration screen before my tabBar shows up. My idea is to show my registration screen through this method (no dismiss function for now):
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
Register *registerView =  [[Register alloc] initWithNibName:nil bundle:nil];
[self presentModalViewController:registerView animated:YES];
return YES;
}
Which is in AppDelegate.m 
Unfortunately it doesn't work. Could you help me solve this please?
© Stack Overflow or respective owner