iphone-sdk-4

IPhone SDK 4 background process for incoming call

I would like to track (run some code - or invoke function) when the user get an incoming call. for example: for every call the user receive I want to save the number, and check something during or before the call is answered (with a background process..) until now without the background processing I couldn't find a way to do this. But ...

Iphone simulator 4 text messaging issue

HI, How can you enable the emulator sdk 4 to send text message (sms)? I have created the interface, but it says "Text messaging is not enabled on this device" thanks ...

Xcode 3.2.3 - No SDK 3.1.3

Hello, after having installed Xcode 3.2.3 with iPhone SDK 4 (Seed) on OSX 10.6 there is no SDK 3.1.3 more available. Is there any possibility to reactivate it? BR Sven ...

Performances obtained when compiling with the LLVM 1.5 compiler in SDK 4 ?

The question is strictly related to the compilers available in the SDK 4. Are you experiencing improved performances when compiling your applications using the LLVM 1.5 compiler or the LLVM GCC 4.2 compiler (uses GCC as a front-end) with respect to the traditional GCC 4.2 compiler? ...

Building against 3.x SDK in Xcode 3.2.3 for iPhone only app?

Is it possible? Because if I build against SDK 4.0, my app goes wacko, doing silly things and generally not working properly. If I build against 3.2 however, it works splendidly, but I get a warning saying: [BWARN]warning: building with 'Targeted Device Family' set to iPhone only ('1') not supported with SDK 'Device - iPhone OS 3.2'....

iOS photo library totaly changed

Hello All. Till iPhone OS 4 I have red /var/mobile/Media/DCIM/APPLE100 JPG files and extracted exif information such as location, thumbnails and other. In the iOS4 situation totally changed. The JPGs disappeared and I have no idea where to get locational information an open pictures. Give me your light, please. ...

Play whit wifi on iPhone?

I try to make a little app for my iPhone, and version 1 its now ready to AppStore, in my Version 2 i want to get more info to the user, can sombardy maby help me to learn about Wifi on iPhone? i Tnink i will tell the user about "wifi connect" and after that "show" user info about the network like ip, what SSID its connect to, what the m...

UIDatePicker: time mode: initialize the time (gotta be simple)

All, This seems like such a simple thing, but I cannot find* the right method to create a UIDatePicker, in time mode, and have it initialized to a specific time. I don't want date -- just time (think alarm clock). I have created a NSDate object: NSDate * date = [[NSDate alloc] initWithTimeIntervalSinceReferenceDate: (NSTimeInterval) ...

Duplicate symbol from single library in iOS4.1 SDK

I am developing an iPhone application. I am unfamiliar with Xcode, so please bear with me. I have the iOS 4.1 Device SDK. When I select "Simulator" in the "Active ..." drop-down box, my application compiles without errors and runs in the iPhone simulator. When I select "Device" in the drop-down box, however, I get the following linker e...

App crashes immediately on iOS 3.x when compiled with Release build configuration

I'm facing quite "mysterious" problem. My App works fine with all build configurations on devices running iOS 4.x, but it crashes on iPhone running iOS 3.x immediately after launch, but only when compiled with Release configuration. With Debug config it runs with no problems, though. I've spent a lot of time investigating possible cause...

Dismissing/Updating Local Notification Programmatically in iPhone sdk4

I am working on an app that runs in the background with the backgroundmode set to location. In the didUpdateToLocation: method, I want to generate local notification. I want the app to show the notification only when previous notification has been viewed. Another option is to show only the latest notification and dismiss all the previous...

Icon/Images (@2x) for iPhone4 work on iPhone 3GS?

Icon/Images with more resolution (@2x) for iPhone4 work on iPhone 3GS or I have make images to 3GS too? ...

touch began in UIScrollView

touch began doesn't work in UIScrollView How to enable touch began in UIScrollView? ...

iphone sdk 4.1 memory leackage: may be scene replace problem (cocos2d)

I have used scheduler to return from a scene to the main menu. There is nothing in the scene page except menu. But scenes are not deallocating and memory leakage increasing as i navigate through the scenes. So application is not closing(kept running in background when close using iphone/ipod button) but crashing. Hope some of you faced ...

How do you display a Alert when not connected to the internet ? iOS

hi How do you display a Alert when not connected to the internet ? iOS not connected to internet means has no wifi , no connection to remote host ( www.google.com) no Cellular Data Network as i have seen many applications showing this message when i am not connected to the internet. i have tried downloading the Reachability from appl...

Delete LocalNotification

I set a local notification with key "notify" and know that i can delete it with below code but don't know how to declare 'notification' for key "notify" to delete it [[UIApplication sharedApplication] cancelLocalNotification:notification]; ...

localNotification.soundName

localNotification.soundName doesn't support sound with duration more than 30 second Is there any way to solve this problem ? ...

Stop sound when user push home button

I play a sound in viewDidLoad now when user push home button sound paused.when user run app again sound play from place that paused before.how can i stop it(no pause) when user push home button? ...

- (void)applicationDidEnterBackground:(UIApplication *)application

Can i use below method somewhere other than AppDelegate ?if yes how? - (void)applicationDidEnterBackground:(UIApplication *)application ...

cancel UIView Animation

I use below code for shake button How can i cancel it when it's in progress? #define RADIANS(degrees) ((degrees * M_PI) / 180.0) CGAffineTransform leftWobble = CGAffineTransformRotate(CGAffineTransformIdentity, RADIANS(-10.0)); CGAffineTransform rightWobble = CGAffineTransformRotate(CGAffineTransformIdentity, RADIANS(10.0)); ...