ios4

How to change iPhone App name 100%!

Can't seem change the name of my iPhone app 100%. I followed multiple threads and performed the outlined methods below, but the old name keeps popping back up in Console. I'm concerned that on some deeper level the app's name has not really been changed 100%. My concern is with the fact that I've made a "Lite" version by starting wit...

iPhone viewForZoomingInScrollView behaviour changes in iOS3.2 +

Hi, i have a scroll view which represents a map, it has pins on it, when the user zooms the map, my app uses viewForZoomingInScrollView to ensure all the pins remain the same size( I ensure the location of the pin point is maintained by setting the anchor point on the layer) here is the general gist of the code.. - (UIView *)viewForZo...

UIImagePickerController seems to be "broken" in 4.0. Anyone else?

Been working on a 3.1.3 application and recently upgraded to the 4.0 SDK. I'm still building with a Base SDK of 3.1.3 and testing on a 3.1.3 device as well as a device running 4. On 4.0 device, when a UIImagePickerController is displayed I get the following messages: Using two-stage rotation animation. To use the smoother single-stage a...

iOS - UIRemoteNotificationTypeBadge & Push

Hello, If my application is started and only started. I implemented application:didReceiveRemoteNotification: to receive the payload. If a message is sent to my iPhone, is this method called for every registration type, such as the following one? [[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificatio...

AVCaptureDevice inheritance

Hello, Is there a way to create a subclass from AVCaptureDevice? , because i want to supply my own set of images to the export session to create a quick time movie. if there's another way to do so , please let me know. Best regards John ...

Background Audio and Remote Control Support using MPMusicPlayerController on iOS 4. Is this even possible??

I've spent two days on this and have gotten nowhere. I'm trying to use [MPMusicPlayerController applicationMusicPlayer] to play audio chosen from the user's iPod library and have it run in the background as well as support remote events. Now getting the music actually playing is the easy part. Get the instance, pick the songs, assign ...

How to send multiple files with post request? (objective-c, iOS)

Hi, I want to sent post request, but i need to send multiple files, how to do this? tnx ...

Looking for a UI library to present Data horizontaly in iOS

Hello, does anyone know of a UI Library for iOS, that acts like a horizontal UITabelView? I want to scroll cells from right to left and not from up to down. Thank you twickl ...

iOS4 SDK + Three20 Build issue

I installed the latest iOS4 SDK which replaced my existing SDKs (so I no longer have anything other than 3.2, 4.0). I also checked out the latest Three20 from github, and now whenever I'm about to Build a new Three20 app, or even run the samples I get the following error: Build Three20Core of project Three20Core with configuration Debu...

iPhone Custom Fonts with Font Suitcase

I am attempting to use a Font Suitcase for a custom font in an iOS4 app but am not having any success. I have read other posts that have documented how to use custom fonts, so have copied the suitcase into my project, added it to resources and the Info.plist ' Fonts provided by application' array, and attempted to use it both in Interfa...

How do you create a control during runtime on iOS

Is there a way to create a control during runtime? I tried something like UIButton* tempButton = [[UIButton alloc] initWithFrame:CGRectMake(120, 160, 40, 40)]; [self.view insertSubview:tempButton atIndex:0]; [tempButton release]; it does not work ...

Multitasking aware applications in iOS 4 and Custom URL Schemes

Hello all, I'm trying to implement OAuth securely as detailed here: http://fireeagle.yahoo.net/developer/documentation/oauth_best_practice#custom-url-osx. I seem to have hit a stumbling block, as I am unable to figure out how to handle a url which launches my application when in the background. I have registered my application to handl...

NSDateFormatter's init method is deprecated?!?!

Per http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSDateFormatter_Class/Reference/Reference.html The init method of NSDateFormatter is "Available in iPhone OS 2.0 through iPhone OS 3.2", and therefore not in 4.0. Now, it certainly works, but this seems odd. Is this is a mistake or is there...

iOS SDK UIViewContentModeScaleAspectFit vs. UIViewContentModeScaleAspectFill

I have an image that I would like to display in a UITableViewCell using the UITableViewCellStyleSubtitle style that provides a UIImageView, and two lines of text, plus an optional accessory view. However, when I set the content mode of the UIImageView to either of UIViewContentModeScaleAspectFit or UIViewContentModeScaleAspectFill, it ...

OS4 and iphone app speed issue

Hi everyone, I updated my 3G iphone to 0S4 and the game I wrote for it is now very slow. I.e it starts off well, but then the game slows down after a while and it becomes uplayable. I ran instruments but instruments cannot run and becomes very slow so I tried running it against the simulator and noticed the same thing. Also my ram neve...

How to build a static library for both iPhone OS 3 and OS 4?

I created a .a lib file and it was built under iPhone OS 3.0 (in XCode 3.2.2). Now I found that it doesn't work on OS 4. I was using the lipo command to build the .a file for both simulator version and device version: lipo -create libdevice.a libsimulator.a -output libcombined.a Now I created another .a file under iPhone OS 4.0 (in XC...

iPhone / iPad user profile tracking

My iphone app downloads user specific data from our web server. How can I identify a unique user/device? cookie? ip address? or do I need them to register first? What are some issues I need to be aware of? best practices? ...

strange iphone os4.0 error while quitting application

Hello all, I have updated to xcode 3.2.3 iphone os sdk 4.0. now when application enters in background state and when i double tap home screen to quit the bg running app. I receive Kill in gdb. Does some one knows about it ? ...

iOS4 - fast context switching

Hi All, When application enters in background running state, how much dirty memory usages is good to go. In apple video it's mentioned that the dirty memory should be reduced as much as we can. But in my App, I am using navigation controller to push and pop views. After moving from about 20 different pages, the dirty memory usages reac...

iPhone: Icon extension error in the archive validation

Using the Xcode 3.2.3 I updated my app to iOS4 and build an archive. When I tried to validate the application I received these warnings: "Icon specified in the Info.plist CFBundleIconFile does not have an extension: icon" Since my app is a universal app I have 4 icons mentioned in the plist and therefore 4 errors. I will also point out...