iphone

Hiding just one navigationBar in navigationController stack

I am trying to get the same functionality as contacts app in iphone. The problem is following , when i hide navigationbar using following command [self.navigationController setNavigationBarHidden:YES animated:YES] It gets hidden throughout all viewControllers in navigationController stack. I am implementing search in my application pr...

Despite iPhone Base SDK set to 3.1, App Store lists app as needing OS 2.2

A follow-up (sort of) to this question: in the Xcode build tab, I set my Base SDK to 3.1 but after uploading to the App Store, I see it being listed as requiring 2.2 or later. Why is that? Both Base SDK and Deployment Target are set to 3.1. ...

Iphone: Autoscroll on selected indexPath in table

Hi.. I`m working with a tableview controller where new rows are added manually by the user on a secondary controller and then returning to the tableview with the new row highlighted. I am using the following to highlight the row: [self.shoppingCartTableView selectRowAtIndexPath:self.selectedIndexPath animated:YES scrollPosition:...

How do I turn an image into a vector on the iPhone like Adobe Illustrator's Live Trace?

I want to be able to create vector files like Illustrator does on the iPhone. Does anyone know of an algorithm? ...

Should i use public/private key encryption in this case?

I have an iPhone app and a backend php web app. The php site stores some information and i have to use the iPhone app to retrieve that data and show it in it. So, suppose the iphone app has to show a list of houses for a given user, it would call the folllowing php script http://example/process.php?user=300 That script makes the sql ...

What's the best way to do one-way synching from a server-side database to iPhone?

I've got a database on my server which is about 3mb big. I'd like to ship that with my iphone application. The most important thing is that I'd like to promote changes to the database (insert, updates, deletes) to the iphone. What's the best way of doing that? I mean - what is necessary on - the server - the client (= iphone) - between;...

iphone: How do you find the creation date of a file?

hi all. I'm trying to find the creation date (NOT modification date) of a file. Creation date doesn't appear to be in the attributes of a file, though modified date is. I'm using this code.. NSFileManager* fm = [NSFileManager defaultManager]; NSString* path = [PathHelpers pathInDocumentsFolderWithFilename:FILE_NAME]; NSDictionary* a...

Flickering animation with UIViewAnimationTransitionFlip

I have a containerview with 2 subviews. I want to flip from one to another. The problem is that some kind of flickering appears. It doesn't happen on the iPhone 3GS, but on the Simulator and the iPhone 3G: http://www.hanspinckaers.com/upload/Flickering.png Does anyone know why this happens? This is the code: [UIView beginAnimations:ni...

NStimer slow in device?

hi, i have done following to translate background screen.view.m file.but the frame rate is very slow.i changed time interval with different value,but the image is translating very slowly in Iphone Device? any solution?pls? - (id)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { // Initialization code x =...

Editing a table like iPhone Mail

The iPhone Mail application has an edit button in the navigation bar. Tapping that button shows a delete button in the toolbar and shows checkbox controls in the table cells. Tapping one or more checkboxes then tapping the delete button causes the checked messages to be deleted. How can I add similar functionality to my own code? Here'...

isNan in objective c

There a function like isNan (Javascript example) for Objective C ?. I just noticed this code is causing to display Nan % so i need to detect is a value is Nan so i could change it to 0 [portefeuillePercentWaarde setText:[NSString stringWithFormat:@"%.2f%%", verschilPrencentage]]; ...

Is it right to say that paths are represented as URI while web-addresses are represented as URL?

I am confused by Apple's documentation about the NSURL class. In NSURL, they say the following: NSURL understands URLs in style of RFC 1808, 1738 und 2732 NSURL understands URIs in style of RFC 2396 Also they say that the RFC 2396 URI are paths. Now what's the difference here? Isn't a path also an URL? I mean, it's an location or n...

COM object to web service for mobile devices.

We got a COM object for our web applications. now we need to develop application for different mobile devices like IPhone, Android and windows mobile. what are the options out there ( rest server, soap serverice ) any idea. ...

Is a path in the Url Loading System of Cocoa always an URL, or sometimes an URI?

I don't get it: An URL is something that really "locates" a ressource, i.e. it holds enough information to say "man, go here, then there, and you have it!" ...while an URI can say "the file is called foobar.foo ... have fun finding it!" Or am I wrong? Can the URL loading system handle URI's? How would that look in example? For me it doe...

How do I push a new controller via UIButton, nested in a UIScrollView?

Hello - I have my views that are part of a tabBar. Each view has a navigationController. In one of my views I have an embeded xib component. This is a scrolling view with UIButtons inside it. I want to slide in another view, inside the navigationController when a person taps the button. I can get the taps, etc. BUT, I can't figure o...

XML, images, streaming video and "excessive volumes of data"

My first application was submitted to App Store and failed to be approved owing to "excessive volumes of data over the cellular network". I don't know how they test this but since it's basically a news application which displays various articles, images and streamed videos, I would go and blame the videos for the rejection. I can't test ...

Create an empty ABAddressBook in iPhone SDK?

Can I create an ABAddressBook which does not read data from my address book. i.e. it's empty to start with so that I can put in my own contacts fetched from the internet. As you may know the function ABAddressBookRef ab = ABAddressBookCreate(); gives me data from the built in addressbook. This is not what I want but if you know a so...

iphone reload table data

I am trying to update a list in a tableview controller. In viewWillAppear in that particular tableview controller, the tableView is setup with the code: [self.tableView reloadData]; I am trying to do this refresh from an other Class (DetailViewController), which refers to another view controller. In a method in DetailViewController I ...

iPhone audio analysis

I'm looking into developing an iPhone app that will potentially involve a "simple" analysis of audio it is receiving from the standard phone mic. Specifically, I am interested in the highs and lows the mic pics up, and really everything in between is irrelevant to me. Is there an app that does this already (just so I can see what its cap...

MKMapView Memory Leak in iPhone Application

I am working on an iPhone application which uses MKMapView and shows userlocation. I am getting memory leaks where leaked object is NSCFArray of size 128 Bytes, GeneralBlock-16, GenralBlock-8 when is set MKMapView's showUserLocation property as TRUE. If is set it as NO then i dont get this leak. Can anyone suggest that what can be the po...