Monthly Archives: October 2012

[[UIDevice currentDevice] orientation] is not working for iPad

Today I face a problem in developing my app for iPad. I am checking the current orientation of my device using the following function and checking weather it is in Portrait or Landscape mode. This was working for iPhone 5.1 … Continue reading

Posted in iPhone | Tagged , , , , , , | 1 Comment

Hide UINavigationBar LeftBarButtonItem & add custom UIButton in iOS 4.3 and iOS 5.1

You can easily hide the UINavigationBar LeftBarButton. But the problem is your way may not work for both iOS 4.3 & iOS 5.1. I just find a way that work in both iOS Code is:

Posted in Uncategorized | Tagged , , , , , | 2 Comments