iphone

How do I associate file types with an iPhone application?

On the subject of associating your iPhone app with file types. In this informative question I learned that apps could be associated with custom URL protocols. That was almost one year ago and since then Apple introduced 'Document Support' which goes a step further and allows apps to associate with file types. There is a lot of talk in...

Working with iPhone OS 3.2 only classes

How would you write a universal app that uses classes introduced in iPhone OS 3.2, such as UIPopoverController and UISplitViewController? On Jeff LaMarche's blog about this, Ole provides a method for instantiating these objects; you would instantiate a UIPopoverController like so: [NSClassFromString(@"UIPopoverController") alloc]. This...

How to remove the cell selection style color when once again showing the table view in iphone?

I am new to iphone development.I created a table displaying my contents.If i select a row ,it state is highlighted in blue color and navigates to another view and if i click the back button it navigates back to the table showing the clicked cell in blue color,i want to remove the highlighted color on table while navigating back to its ...

Outline view in iPad application

I m new to iPhone development so can anyone tell me how to create an outline view on the left side of splitview in iPad. any help will be appreciated. Thanks. ...

Trouble with iPhone NSLocalizedStrings after migrating to a different computer.

I have built a universal application for iPhone and iPad which uses Localizable.strings for German and French localization – the app's native language is English. The app builds and runs normally in iPhone/iPad Simulator and iPhone/iPad Device. I recently bought a new laptop and installed Xcode. When I checkout my project from the Subve...

Is it possible to submit an update for an app on the AppStore without losing reviews?

Whenever I submit an update for me app, the number of reviews visible for it drops to 0. If the customer bothers to click through they can see the previous versions' reviews... But the damage has been done. Since the app has 0 stars, I see a significant drop in sales. It takes the app a good week of earning new reviews to restore sales....

Xcode/iPhone Development 6 months in - Annoyances

Hi I've been iPhone programming for 6 months and come from a PC/Java/Eclipse background and still have a few annoyances with Xcode/iPhone programming I wonder are there any shortcuts to. Is there any way to prevent multiple windows opening all the time in XCode? a) When you click on the Errors/Warnings in the bottom right of the status...

Is there a way to dismiss an alertview automatically after some time?

I'm looking for a way, to automatically dismiss an alert view after some time or after a task is done. Is there a possibility? (or another way to show a message for some time?) ...

UILabel reset after Autorotate

Hi, I have a UILabel in a view that is set by calling a method against my view controller. The app is a TABBar app and the VC is in the MORE section. When I rotate the phone the label disappears (don't mind that) when I rotate back the label is showing all .......... (the value it is set to in the XIB) I added a line to set the label ...

iphone: is there any secure way to establish 2-way SSL from an application

Hi I need to establish a HTTPS 2-way SSL connection from my iPhone application to the customer's server. However I don't see any secure way to deliver the client side certificates to the application (it's an e-banking app, so security is really an issue). From what I have found so far the only way that the app would be able to access th...

What is the best way to implement a widget like this in iPhone SDK?

At first we thought of have a back bar and a front bar and simply grow the front bar as the bar progresses. But then we realized that the front bar cannot "stretch" because it has a flat end, and the flat end will be taller than the back bar when it reaches near the end. How would you implement this bar in the iPhone SDK? ...

how can i implement PUSH NOTIFICATION on IPHONE?

how can i implement PUSH NOTIFICATION on IPHONE? ...

Using LocationManager from another class than Main

Hi, i'm new here, i'm new in iphone development, i'm new in Objective-c and i'm new in engligh speaking, so don't hate me :P I'm creating an application that will use the location manager to display the distance between the own position and the positions of a list of shops, like AroundME. Now, i give the locationManager property to my...

Objective C - Auto Fade Away Alert

I am trying to alert the user of something without being too intrusive. I love the way that Tweetie 2 handles connection errors and loading progress with their alert that automatically fades away after a second or two. Anyone know how is this done in objective c? It looks like this: http://dl.dropbox.com/u/38467/photo.jpg ...

iPhone app distribution: What name will appear on the AppStore?

Hi there, Is there a way to change the name that displays on the AppStore, rather than the name associated with the credit card/apple ID associated with the developer programme? For example, if my name on my credit card was foo, and the name on the apple ID was foo, but I actually want the name displayed on the AppStore (i.e. next to m...

how do use the facebook connect api's with the iphone?

I am currently developing an iphone application which is nearing completion but i want to add in the functionality to be able to connect with facebook. I can grasp the basic functionality of this such as connecting and posting status updates and feeds but id like to be able to interact with friends and events within facebook, much like t...

How to compare two images with iphone sdk?

suppose i have taken one picture from my iphone camera and now i want to compare this image with other images and find best match image from that. is it possible or not? ...

Properly setting up willSelectRowAtIndexPath and didSelectRowAtIndexPath to send cell selections

Feel like I'm going a bit nutty here. I have a detail view with a few stand-alone UITextFields, a few UITextFields in UITAbleViewCells, and one single UITableViewCell that will be used to hold notes, if there are any. I only want this cell selectable when I am in edit mode. When I am not in edit mode, I do not want to be able to select i...

How do you delete a core data entry from the detail view?

I am working with an app similar to apple's core data recipes sample code. I want to be able to delete the entry from the detail view, much like apple's contacts app. The code below is deleting the 1st entry and not the selected entry. Not sure what I am doing wrong. NSIndexPath *indexPath = [myTableView indexPathForSelectedRow]; NSM...

UITableView: Highlighted cell after switching back views

Hi, I'm using a UINavController together with some UITableViews to display a kind of drill down for some data (e.g. like the Contact App). Works well. The only problem I have is, when I select a cell in the first table view it is highlighted, then the view switches to the next level and then, if I go back to the first level, the cell is...