Tag Archives: Objective-C

How to check whether a character is from English language or not in Objective-C


Last day I needed to check the UITextField ‘s text whether it is from English language or other Unicode character form other language. And also how many characters are form English language and how many from others? Here is how … Continue reading

Posted in CodeProject, iPhone | Tagged , , , , , | Leave a comment

UITextField Custom Input Accessory View Class


Sometimes we need an accessory view of uitextfield to perform some action like hide the keyboard. To solve this I create a class which will add a toolbar on top of the keyboard holding a done button. If done button … Continue reading

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

[[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