Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Adding UIWindow in xcode Iphone SDK

  • Please log in to reply
No replies to this topic

#1 raziiq


  • Members
  • 18 posts
  • Local time:07:50 AM

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?

BC AdBot (Login to Remove)


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users