Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-22-2009, 08:48 AM   #5 (permalink)
manicaesar
Registered Member
 
manicaesar's Avatar
 
Join Date: Feb 2009
Location: Poznań, Poland
Age: 25
Posts: 103
manicaesar is on a distinguished road
Default

Quote:
Originally Posted by vakio View Post
I don't know if anyone's filed a bug report but I've filed one. I think the more bug reports, the more they're likely to fix something.
Ok, good to know. Maybe there is a way I can confirm that I also experienced the bug you've filed (sorry if this is a silly question - I have little experience in filing a bugs to Apple)

I also want to confirm, that your solution to the problem - making fake UIWebView at application start works like a charm!

If someone is interested, how to achieve this:

I've modified the code i posted above in such a way:
In AppDelegate .h file, I added a field:
Code:
UIWebView *fakeWebView;
Then in implementation of AppDelegate .m file, I enhanced applicationDidFinishLaunching and dealloc methods:
Code:
- (void)applicationDidFinishLaunching:(UIApplication *)application {    
    
    // Override point for customization after app launch    
	
	[window addSubview:[navigationController view]];
        [window makeKeyAndVisible];
	
	fakeWebView = [[UIWebView alloc] init];
	[fakeWebView loadHTMLString:[NSString stringWithFormat:@"<html><body>%@</body></html>", @"Fake"] baseURL:nil];
}

#pragma mark -
#pragma mark Memory management

- (void)dealloc {
	[navigationController release];
	[window release];
	[fakeWebView release];
	[super dealloc];
}
Many thanks to you, vakio!
__________________
Do you like Age Of War? Have you played 'The Wars' and are not fully satisfied? Try Empires At War - we bet you will love it!


------------------
Full Version
------------------
Lite Version
------------------
YouTube Game Trailer
manicaesar is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,418
Threads: 94,016
Posts: 402,536
Top Poster: BrianSlick (7,978)
Welcome to our newest member, deepobjectsol
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:16 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.