iphone

iPhone: Using a Singleton with Tabview Controller and Navigation Controller

Hi Friends, I have developed a small iPhone application by using singleton that I use to navigate through the views. Here is a sample method from my singleton class. + (void) loadMenuController:(NSMutableArray *)menuItems{ MenuViewController *menuViewControler = [[MenuViewController alloc] initWithNibName:@"MenuViewController" bun...

website to be displayed in browser

i have a button called "Visit Website" If Visit Website is clicked then the website supplied will be opened in the browser. My requirement is, when closing the browser the user will be brought back to the same screen i want to do it in this way please guide me how i can do that ...

How can I install an application on iPhone automatically?

Hello, I need a way to install a distribuible application without user intervention, of course I currently have a distribution profile installed on my device (I can install or uninstall the application by means of iTunes or iPCU), the problem remain on the side of automation "no user intervention is required", basically I need to develop...

what do all the +'s and -'s in Objective-C mean?

in function signatures, like: - (void)dealloc ? thanks :) ...

iphone mailcomposer

i have my tabbar and i can hide this tab bar by the following code below but when tapping cancle of iphone mail composer does not return to the default screen can you please guide how can i do this -(void)displayComposerSheet { MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDe...

iPhone application prob after updating the app.

I have one application named A with version 1.0. I have updated it with different features and database changes. The database and features are totally different from the older version. Now, some of users are unable to run the application after updating the new version. They need to reInstall the new version. Its not happening with all...

iPhone app always crash while using 3G

My application always crashes if I use the camera to take a picture while connected to a 3G connection (not wifi). When I use wifi then it run perfectly. What is this problem ? ...

Is there any way to limit how fast a UIScrollView scrolls when you swipe it?

Any way to limit how fast UIScrollView scrolls when you swipe it? ...

How to solve domain error during load html page in UIWEBVIEW?

There are 3 html page in my applicaton.Wehn i have load first page in webview then properworking.But when i am going to load second time page then gives loading error.Can u help me.Thanks in advance. ...

UITextFields firstResponder problem

hello all i am working with multiple uitextfields.i have a problem in cursor placing while changing firstResponder. i would like to do "Cursor placement in 2nd field once we entered the 3rd character in the 1st field." but the cursor stays in 3rd place.here i am restricting my first text field length to 3. ...

change width of UIAlertView in iPad

Hi Friends, Is there any way to change the frame of the UIAlertView in iPhone or iPad. I tried changing the frame in the following delegate method- (void)willPresentAlertView:(UIAlertView *)alertView; but even then the width of the Alertview remained unchanged. And I think a small Alertview in iPad will not make sense. And I guess the...

How to reset iPhone simulator

My app uses the location service. To test what is happening when the user presses 'Don't allow' when the simulator asks for the permission to access the location service (when the app is started for the first time) I need to reset the simulator. This because the question was answered at the beginning of the development process with allow...

UISplitViewController Cannot Change the Master View Controller?

I am trying to change the master view controller (that appears in the popover in portrait, and on the left side in landscape) in a UISplitViewController. I'd like to switch between the master view controller being one of two different UIViewControllers (depending on an action taken elsewhere in my application). I am using the following:...

Core Text tutorial

Hi, is there any nice CoreText tutorial for iPad out there? ... I found just few exampes in SDK documentation ... thanks ...

iPhone Input with Stacked Views

Hi, I've got a situation in an iphone application where buttons are not receiving input as I expect. Here's the setup: ViewMain - The main view full of various images and labels ViewOverlay - A HUD like overlay view with two UIButton objects. To create my scene I do the following: viewController.view = ViewMain [ViewMain addsubview:V...

Animation on the iPhone - use image sequence or rotation?

I am creating a basic animation for my iPhone app. I have a choice to make between 2 different types of animation. I can use this... NSArray *myImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"myImage1.png"], [UIImage imageNamed:@"myImage2.png"], [UIImage imageNamed:@"myImage3.png"], [UIImage imageNamed:@"myImage4.gif"], n...

Is there an OpenAL programming guide from Apple?

I can't find any. Maybe there is one, anyways? ...

iPhone Audio Effects

Hello, I'm searching for Library, Framework or SDK for add audio effects in Objective-C, like reverber, echo etc... Somebody knowns something? ...

iPhone Database & Server Database - iPhone updates only modifcations

Hello ! Every one. I have some query. First of all let's have an iPhone application flow which a normal application has. ( Content based application ) Application launches & checks for the network availability If network is available - iPhone downloads the data using web services or APIs We can store these response ( web service res...

Change classes instantiated with loadNibNamed

I am trying to change the class of objects created with a nib with the iPhone SDK. The reason for this is; i dont know until runtime what the class is that i want the nib object to be (though they will have the same UIView based super class), and i dont want to create a different nib for every eventuality - as the .nib will be the same ...