
04-07-2009, 04:59 PM
|
|
What's Jailbreak?
|
|
Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
getting a view?
|
So I believe I almost have it...i am creating a nag screen.......
- (void)applicationDidFinishLaunching:(UIApplication *)application {
NSString *number1 = [[NSUserDefaults standardUserDefaults] stringForKey:@"mobilefieild"];
NSString *name1 = [[NSUserDefaults standardUserDefaults] stringForKey:@"firstnamefield"];
if ((number1 == nil) || (name1 == nil)) {
[self displayNagScreen:application];
}
else {
[self displayMyApp:application];
}
[window makeKeyAndVisible];
Above, I split the applicationDidFinishLaunching into two parts. Below, Is where they are told how to act. I just don't know how to pull up my settingsView xib in the -(void)displayNagScreen. Please help if you are able.
- (void)displayMyApp:(UIApplication *)application {
********lots of stuff here********
}
- (void)displayNagScreen:(UIApplication *)application {
********* ? *********
}
Thank you.
|
|