iphone memory leak with navBar


Problem: User can set different themes on Iphone app so, nav bar tint color need to change as per new themes.
but always get memory leak at following statements.

self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:19/255.0 green:140/255.0 blue:130/255.0 alpha:1.0];
😦
Solution:
Leak appears when using ios 4.3.
Tried with 4.2 and wonder 🙂 no leaks.

conclusion: neglects UICOLOR leaks in ios 4.3

Advertisements

Author: yogs174

I am programmer and entrepreneur and love innovative stuff. I like to work on different technologies with new tools.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s