iPhone Development:Hiding TabBarController while pushing viewController in iPhone SDK

In many of our apps, we want to show a viewController that does not had a bottom tab but our app has been laid out on TabBarController.The default behavior of a TabBarController app is that it contains tab at the bottom of screen and is remained static throughout our whole app.Here’s problem occurred, when we […]

iPhone Development:Hiding TabBarController while pushing viewController in iPhone SDK Read More »

iPhone Development:Pop to particular viewController

In this post i am going to tell you use of how one can pop back to previous view-controller in iPhone SDK. Objective C provides us two ways to pop back to a previous view-controller placed in a navigation stack.They are two ways to do it 1. popToViewController:(UIViewController *) animated:(BOOL) 2. popViewControllerAnimated:(BOOL) Second one will

iPhone Development:Pop to particular viewController Read More »

iPhone Development:Restrict character to be entered in UITextField

in iPhone application development, if you want to restrict users from entering unnecessary characters in text field then you can use the facility provide by NSCharcterSet. Below is the code snippets that allow user to enter only numeric characters into text-field.No other characters apart from numeric values will be inserted in text field. – (BOOL)textField:(UITextField

iPhone Development:Restrict character to be entered in UITextField Read More »

iPhone Development:Dismiss keyboard while using UITextField inside UIAlertView

Displaying a text-field inside UIAlertView is a good way to allow user enter a piece of information without letting him to navigate to other screen. The only common problem we faced in this case is hot to dismiss alert when user is done with typing. If alert/pop up has button to dismiss keyboard tehn its

iPhone Development:Dismiss keyboard while using UITextField inside UIAlertView Read More »

iPhone Development:Xcode does not recognize ipod after software update

When you update software on an iPod,iPhone ,sometimes xcode does not recognize it and shows a yellow dot in front of the device name in organizer.To overcome this without installing a newer version of xcode, follow the given below steps: Open up organizer in xcode. Right Click on devices and on the left pane select

iPhone Development:Xcode does not recognize ipod after software update Read More »

iPhone Development:Customize a UISlider in iphone sdk

Want to make a custom UISlider like shown in below image. To made a  UISlider as shown in the figure, we can use given below code snippet CGRect frame = CGRectMake(174, 12.0, 120.0, 40); customSlider = [[UISlider alloc] initWithFrame:frame]; [customSlider addTarget:self action:@selector(sliderAction:) forControlEvents:UIControlEventValueChanged]; // in case the parent view draws with a custom color or

iPhone Development:Customize a UISlider in iphone sdk Read More »

iPhone Development:Hide statusBar Programmatically in iPhone SDK

Every smartphone device has a status bar at top of the screen displaying signal strength,battery status,carrier name etc. In some of our application, we had to hide the status bar. To  hide Status Bar  programatically, one can use the given below code snippet [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]; Note:- This will only work if device is

iPhone Development:Hide statusBar Programmatically in iPhone SDK Read More »