iphone

Is it possible to mass update multiple iPhone applications?

I'm not all that familiar with Apple's iPhone development system, but I'm trying to figure out if theres a way for developers who create custom iPhone apps to update their apps on a mass scale. For example, would a company who publishes hundreds of apps have to resubmit every app they've made manually if they find a minor bug that affect...

Photo orientation issue in Three20's TTPhotoViewController ?

Hey There, I'm currently having some troubles with TTPhotoViewController : I try to display some photos (taken from my iPhone 3GS camera), and the orientation of the displayed pictures are almost always erroneous ... I mean that for example a photo taken in landscape mode will sometimes be displayed correctly, sometimes it will be upsi...

iPhone Video Screen not rotating

Hi, I am creating a iPhone application where i play a video. The problem is view(Video) is not rotating when i rotate the device but in the video palyer, the view is rotating I am return yes in shouldAutorotateToInterfaceOrientation method Can any one provide a solution for this. Thanks ...

Audio Processing and Playback

Where is the demo code shown in the last 5 minutes of the WWDC 09 video - Session 316 : Audio Processing and Playback.? ...

More Leaking Code help?

-(IBAction)customizeYourGameButtonClicked:(id)sender { [self playHumanHitSound]; self.customizeYourGameViewController = [[CustomizeYourGameViewController alloc] initWithNibName:@"CustomizeYourGameViewController" bundle:nil]; [self.navigationController pushViewController:customizeYourGameViewController animated:YES]; [custo...

How to restore the user-location in a drill down UITableViewController structure?

I have a CoreData model that contains Levels which can again contain childLevels. I represent each level with a UITableViewController listing all childLevels. When a user taps a row a new UITableViewController is pushed onto the navigationController. No problem here. How would I go about storing the user location within this table str...

iPhone -- Layout manager for UIViews?

I'm not sure whether "layout manager" is the correct term, but i'm looking for a way to get UIViews to flow into thier parent view, like left-floated div's would in an HTML page. Is there an easy way to do this, either via the iPhone api's or something external? ...

Emoticons in a push-notification alert

How do I put emoticons into a push-notification alert? An example would be Ping! ...

change UIbutton color inside UITableViewCell

I have a simple problem ... but its turning into a very difficult problem .. i have a button inside uitableviewcell and want to change its color through code .... i could aceive it by changing its background image. But its kinna hazy ... its not the solid color ... and when i use [cell.button setBackgroundColor:[UIcolor redColor]] ... th...

How to increment an NSDate...

I'm trying to implement a method that will increment an NSDate instance variable by one month. I'm having memory management problems with this. (I'm using MallocScribble and NSZombieEnabled, and getting the message: -[CFDate copy]: message sent to deallocated instance 0x3d9dfa0) My question comes down to: what's the best way to incremen...

iPhone mapView / mapKit using removeAnnotation & addAnnotation results in memory leak?

To update the location of a GPS indicator on mapView... [mapView removeAnnotation:myGpsAnnotation]; [myGpsAnnotation release]; myGpsAnnotation = nil; myGpsAnnotation = [[MapLocationAnnotation alloc] initWithCoordinate:region.center annotationType:MapAnnotationTypeGps title:MAP_ANNOTATION_TYPE_GPS]; [mapView addAnnotation:myGpsAnnotation...

iPhone: how do i redraw subviews while pinch zooming a uiscrollview

I am developing an iPhone app that places multiple custom UIViews as subviews in a UIScrollView. The subviews are placed on top of each other as transparent views as each view has its own drawing routines that traces parts of the base view. The base view is a UIImageView that is typically a large image that I want the user to be able t...

iPhone: AVAudioPlayer/NSURL memory management

I posted a much longer question a few minutes ago, and as it usually goes as soon as I posted it I realized what was going on, so I deleted it since most of the post was irrelevant. Then I went back to Google. Turns out I'm having almost the same exact problem as described in this post, unanswered from June. http://www.iphonedevsdk.com/...

Best Approach: iPhone String with Inline Images in UITableView

Hola! I have an issue I thought I would throw out to the S.O. world before I spent a lot of time on it. Basically I have a requirement where I am getting a string of text which has inline images, like for a chat bubble in a UITableView. These images are akin to sparklines and/or emoticons. Normally for something like this I would use a...

Dismiss iPhone Mail View Controller Keyboard with Return Key

How do I dismiss the keyboard in the MFMailComposeViewController when the user hits the return key? ...

How to use NSURLRequest / NSURLConnection to download an mp3 file to app?

The Situation In my app, I am currently downloading an mp3 file (to docs directory) using [NSData dataWithContentsOfURL:URL], a method that works fine, but ties down the CPU, dissallowing screen updates of download status. So, I want to download using a different method so that I can update the screen WHILE downloading to alert the user ...

iPhone SDK: Issue with taskbar in UINavigationController view overlapping nested views

I'm running into an issue with the taskbar in the view associated with my navigation controller overlapping the nested views as seen in the screenshot I've provided. It's a simple UINavigationController setup that has a single custom UIViewController in its controller collection. There is a search bar on the very top part of the view as...

Multi-property "transactions" in Core Data / NSManagedObject / NSFetchedResultsController?

Hi, Is it possible to set multiple properties of an NSManagedObject and have the NSFetchedResultsController call controllerDidChangeContent: only once? In other words, is it possible to say something like: [managedObject beginChanges]; [managedObject setPropertyA:@"Foo"]; [managedObject setPropertyB:@"Bar"]; [managedObject commitChang...

Needing a design pattern/example link for iPhone network connections

I'm sorry if this is a basic question. I've been googling, searching StackOverflow, and looking through example code for hours and haven't found anything satisfactory for my skill level. I'm wanting something like a design pattern for handling network functions on the iPhone SDK. I have heard of people using a singleton class but have h...

iPhone Core Data: Cascading delete across a many-to-one relationship

I have two classes A and B with a many-to-one relationship from A to B (multiple A objects may reference the same B). The question is, if the delete rule on the A side is Cascade, will B be deleted only when the last referencing A is deleted or will it be deleted the first time an associated A is deleted. The delete rule for the B side...