iphone

How to convert .caf to .mp3 file programmatically on the iPhone or iPad?

Hi, is there a way to programmatically convert .caf audio files to .mp3 audio files on the iPad platform? ...

how to get preview mode In video recorded in iphone application using Iphone sdk

hello all, I am working an iphone app that automatically records vedio.. the video is getting recorded but I am not getting the preview of the video.. So I hidden the camera controls to record video automatically . I want to see the preview of the video with two options usethis and discard(something similar).. Could any one help me how i...

How to draw in UIViewController in landscape orientation on the iPhone?

Hey guys, there are already some questions on this topic. Unfortunately none of them helped me in anyway. So here is the thing. I am working on an app atm and it has one tabcontroller with two tabs, which contain multiple navigationcontroller on top of each other. Now in one tab at the top level navigation controller, I want to draw some...

vertical scroll bar get disable and bounce back in iphone simulator using phone-gap

Hi folks, I am developing phonegap app in iphone,after successfully viewing pdf file (from server) on new HTML page,the vertical scrollbar get disable ,even i get back to the list page ,the list does not get scroll,this happen only if i run the app directly in simulator (not from xcode),any one know ,how to resolve this issue. thanks i...

Memory leak at text field in iphone sdk.

Hi guys, I am getting memory leak at text fiels please suggest me how to resolve it. I written the code in init() as: eventTextField = nil; eventTextField = [[UITextField alloc]initWithFrame:CGRectMake(10, 15, 300, 50)]; eventTextField.placeholder = @"Event Name"; [eventTextField setFont:[UIFont boldSystemFontO...

Generic approach to NSManagedObjectContext in multi-threaded application

I've read a number of posts here about NSManagedObjectContext and multi-threaded applications. I've also gone over the CoreDataBooks example to understand how separate threads require their own NSManagedObjectContext, and how a save operation gets merged with the main NSManagedObjectContext. I found the example to be good, but also too...

Recognising nearby iPhones running my app

I have a requirement in my iPhone app that I know when somebody running the same app is close by. I'm thinking that GameKit using Bluetooth would let me do that. GPS location is not precise enough in this particular case. However, if the user closes the app then the function won't work anymore. Even under iOS4, the task switching will ...

Android SDK vs iPhone SDK

I've been using the iPhone SDK and think it's great. How does the Android SDK compare? I've never used the Android SDK so I'm wondering what the similarities are. Does it have something like Interface Builder? Does it follow the MVC paradigm? What language does it use? The iPhone SDK has about 20 years of history behind it so it is quit...

iphone native media player - customization

I am building an application that implements a custom view on iPhone's native media player. I want your help in deciding directions to lay this effort. At present I have find out that iPhone SDK doesn't support APIs to customize media player. I need these things in the player: I would like to have custom views i.e. want to change all c...

Universal app iPad / iPhone with seperate recources?

i have build an universal app i have assets that are for both but i have a couple assets ( embeded movie's ) that are only for iphone or only for ipad. is there a possibility to make 2 builds 1 for iphone and 1 for ipad so that the iphone app doesn't grow to large? ...

- (void)applicationWillTerminate:(UIApplication *)application

I found this method in a delegate file and inserted some code. The code never gets executed, even when the home button is pressed. When or how does this function get called? ...

- (void)applicationDidEnterBackground:(UIApplication *)application

I inserted an NSLog and a UIAlertView into this function call. When I pressed the home button, the NSLog executed, but not the UIAlertView. Why is that? ...

Fire Effect opengl iphone

Hello any one knows a good tutorial where i can find a pointer to fire/flame effects on the iphone. i know i will have to use opengl but got no clue where to start. Cheers. ...

Release any retained subviews of the main view on iPhone

I saw this code in the project template and a few other sample projects. - (void)viewDidUnload { [super viewDidUnload]; // Release any retained subviews of the main view. // e.g. self.myOutlet = nil; } Can someone explain to me what self.myOutlet = nil does? Does it release the memory? I thought you put [myOutlet release] ...

what method that is called when showing video preview in UIImagepickercontroller delegate in iphone

hello all I am working an app that automatically records a video. its does not showing preview of a video since I hidden the Cameracontrols . I want to know the method that calling the preview view.. Could anyone help me.. Thanks ...

Image scaling with UIImageView on iPhone

I have a custom view which is composed of a number of UIImageViews. These UIImageViews can vary in size (from 200x200 down to 50x50). The images that they display (loaded from png files) are stored in resources at the highest possible resolution (200x200), but frequently are displayed at lower resolutions. Currently I just load the UI...

ViewDidLoad super

In viewDidLoad do you put [super viewDidLoad] before or after your code? Is it the same for all other methods? ...

UIView Animations

Why doesn't this code do anything? [UIView beginAnimations:@"View Flip" context:nil]; [UIView setAnimationDuration:1]; [UIView setAnimationCurve:UIViewAnimationCurveEaseIn]; [UIView setAnimationTransition:UIViewAnimationCurveEaseIn forView:self.view cache:YES]; [self.view removeFromSuperview]; [UIView commitAnimations]; Also, where ...

50% Transparent background of Navigation Buttons, Segment buttons in iPad and iPhone

Is there a way to customize navigation button, segment button background like iBooks? Check out iBooks shelf top left corner. the button background is about 50% transparent. What a pretty! Any one konw how to emplement it? All Regards ...

User interaction is disabled when run app on iPad, working fine for iPhone.

My application is running perfectly on iPhone (all version 3.0 - 4.0), but when I run the app on iPad (3.2) app is running but I'm not able to make any user interaction, even the 2x button is also not working. Please help me. ...