BleepingComputer.com: Adding UIWindow in xcode Iphone SDK

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Adding UIWindow in xcode Iphone SDK

#1 User is offline   raziiq 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 18
  • Joined: 23-December 09

Posted 05 January 2010 - 10:34 PM

Hi there.

I am creating a project in which i have to change the main.m file, so that UIApplication doesnt appear straight away, so i deleted the following line from main.m


int retVal = UIApplicationMain(argc, argv, nil, nil);


and deleted these lines from AppDelegate

- (void)applicationDidFinishLaunching:(UIApplication *)application {	

	// Override point for customization after application launch
	[window makeKeyAndVisible];
}


And i have added some lines of mine. Now UIWindow doesnt appear by default, and rightly so. But now after my code is executed, i want to create a Window and display some message.

How to create a UIWindow when there is no UIApplication in main.m?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users