iphone

Do I have to hook up Xcode 3.2 with my iPhone dev certificate stuff?

I can't do anything right now, because after updating to Snow Leopard my whole development environment is totally screwed up. Do I also have to run through the painfull process of assigning provisioning certificates and all this annoying stuff once again now? It's long time ago I did that, but I slightly remember I had to set up somethin...

iphone: Can I save user input to a plist that lives in the resources folder?

Hi, I have a plist in my Resources folder that I'm using to store conversion information. I'd like to give the user the ability to "turn off" certain units so that those units will never be used in conversions. I don't want to have to maintain two lists with the conversion information in it. I am able to save data back to that pli...

tableview cell load all at once in iphone

I have implemented following code in my application. -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { NSString *CellIdentifier = [NSString stringWithFormat:@"%@%i",searchQueryString,indexPath.row]; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifi...

TTURLResponse is nil

I am trying to implement a simple TTURLRequest in my app. I'm pretty new to the Three20 framework. I mainly want TTURLRequest and TTImageView for the awesome caching stuff. I have the following code in my delegate: - (void)requestDidFinishLoad:(TTURLRequest*)request { TTURLDataResponse *response = request.response; // Stuff to ...

UINavigationController "back button" custom text?

The "back button" by default shows the title of the last view in the stack, is there a way to have custom text in the back button instead? ...

UITableView cell font size

Is there a way to make the text "automatically" smaller if the text in one row is longer than it can fit? ...

Porting a flash game to the iPhone

I have a Flash game that I'd like to port over to the iPhone but I don't have the time nor the patience to do it myself, I also have a limited budget. Can anyone recommend a place to put out a tender for an iPhone developer to port my game? ...

How Do I Force Redrawing (drawRect) of a SubView When it Changes Dimensions?

I have a UIView that contains a row of subclasses of UIView. The subclass has overridden drawRect: and has set contentMode = UIViewContentModeRedraw. As the user squashes and stretches the parent container the child views squash and stretch. As the shape change occurs I would like to have drawRect called repeatedly to change the conten...

iPhone Image Rotate when user drags touch?

hello devs, im trying to create a circle image (static) and make it rotate when the user drags the image either clockwise or counter clockwise also keep its speed. i seen these effects in alot of apps in the app store. would anyone have a tutorial out to work with or a small sample? thanks ...

iPhone Rich Text Control.

I am about to build an iPhone screen where I need to display formatted text, a link that will kick off a browser, and an email address link that will kick off the mail client. Which widget do I use for that? ...

Can I disable UIPickerView scroll sound?

Hi, I want to disable the annoying clicks that the UIPickerView generates upon scrolling up and down. Is there a way to do this? I want to play short sounds for each item that the picker view lands upon. It gets ruined by the built in sound. I understand that the picker sounds can be turned off globally by switching off the keyboard so...

What's the maximum memory footprint in MB for an typical iPhone app?

I know this is a subjective question. As far as I know, there are somewhat about 25 MB available for the app, but it depends on what else is going on. Currently playing music, a current phone call or what ever might drop that amount of memory down a lot. I don't know. Just tell us what you think, or what you have experienced. My app cur...

iphone webapp, server side view template selection

I'm going to develop a mobile version of my webapp. Most documentation I've read suggests one of the following approaches: create a separate domain (m.example.com) using conditional css style sheets, but serve the same html I'd like to take a completely different approach. I'm using MVC, and would decide which template to render on t...

Is there a more performant way of animating an image sequence?

I fear this is evil code: CGRect iRect = CGRectMake(0.0f, 0.0f, 320.0f, 400.0f); UIImageView *imgView = [[UIImageView alloc] initWithFrame:iRect]; imgView.animationImages = [NSArray arrayWithObjects: [UIImage imageNamed:@"b0001.png"], [UIImage imageNamed:@"b0002.png"], // 150 more [UIImage imageNamed:@"b0152....

Drag UILabel from point A to point B

How can I go about dragging a UILabel from point A to point B on my iPhone application? ...

iPhone and the arp table

I want to get the mac addresses for all hosts on a given subnet. So far I force an arp table update by pinging all ips involved. After that I query the arp table and everything is fine. The problem is how to improve the update speed. Pinging 65000 addresses takes about 15 minutes on an iPhone 3GS. Even if I do not wait if a response is ...

Framework Leaks

When using the Leaks instrument in Instruments, I have a few leaks that occur, but all the participating methods seem to be in Apple frameworks. The specific one's I have been seeing lately are leaks in MapKit. They seem to occur when MapKit is interacting with CoreAnimation. Is there any easy way to tell if these leaks are some how caus...

iPhone Store Kit Testing

To test an in app purchase on the iphone, do I need to upload the binary? ...

NSURLConnection Crashing

I'm implementing back-end data loading with a server by creating an NSOperation and opening NSURLConnections synchronously. This code was working perfectly in both the simulator and the device until I added a progress bar with notifications going back to the main thread. - (void)start { // stop execution if it's cancelled i...

Exclude Ipod Touch from phone feature iPhone Application

How can I exclude the call and sms feature from Ipod Touch but still retain it's functionality on the iPhone. The iPod Touch of course has no phone and sms is available via an optional app. Tech support kindly suggested I take a look at the system call "sysctlbyname" and the section on "CTL_HW" from the Apple provided iPhoneOS reference ...