How to add images on tab bar programmatically in iOS (Xcode 4.2)?
I already asked question but did not get a satisfied answer at Could not set tab bar image in Xcode 4.2 Programmatically.
How to add images on tab bar programmatically in iOS (Xcode 4.2)?
I already asked question but did not get a satisfied answer at Could not set tab bar image in Xcode 4.2 Programmatically.
Write this method in your ViewController:
iOS 5 Appearance api,
also see this thread, second highest voted answer explains both cases <5.0 and =>5.0 case.
Try the following code