Aman Aggarwal

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 »

Add a view before TabBarController in iPhone

In mobile app development, sometimes we face a problem where we had to add a view before our UITabbarController in an application that based on  TabBarController means which has a tab at the bottom of screen .To solve this, we will made a view programmatically and then add that code to our  applicationDidFinshLaunching method in

Add a view before TabBarController in iPhone Read More »