On Apr 13, 2011, at 4:14 PM, Martin Linklater wrote: > Hi - I'm working on latest iOS and when testing my code on an iPhone3G I > sometimes get this log output: > > 2011-04-14 00:03:08.920 CRDev[18309:307] InGameViewController - viewDidUnload > 2011-04-14 00:03:09.223 CRDev[18309:307] InGameViewController - viewDidLoad > 2011-04-14 00:03:09.640 CRDev[18309:307] InGameViewController implementation > of -viewDidUnload caused the view to be reloaded. This will adversely impact > system performance. > 2011-04-14 00:03:09.732 CRDev[18309:307] InGameViewController - > didReceiveMemoryWarning > 2011-04-14 00:03:09.745 CRDev[18309:307] InGameViewController - viewDidUnload > 2011-04-14 00:03:09.781 CRDev[18309:307] InGameViewController - viewDidLoad > 2011-04-14 00:03:09.934 CRDev[18309:307] InGameViewController implementation > of -viewDidUnload caused the view to be reloaded. This will adversely impact > system performance. > > > Can anyone tell me what's causing this ? It's screwing up some of the child > views and causing some subtle bugs...
Your -viewDidUnload method is either directly or indirectly causing the view to reload, typically by referencing it via self.view. -- David Duncan _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
