Refers to the iPhone software development kit, version 4.0.

learn more… | top users | synonyms (1)

75
votes
4answers
73k views

Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs

I created this community wiki to bind together a number of other Q/A's I've seen here on SO. If you're here, you've probably installed the final version of Xcode 3.2.3 with iPhone SDK 4 (download ...
60
votes
2answers
33k views

How do you use NSAttributedString?

Multiple colours in an NSString or NSMutableStrings are not possible. So I've heard a little about the NSAttributedString which was introduced with the iPad SDK 3.2 (or around 3.2) and is available on ...
23
votes
9answers
33k views

Exit application in iOS 4.0

Before iOS4.0 clicking the home button on iPhone exits the application, and Apple had in their guide that programmatically exiting the application was not accepted. now everything changed in iOS4.0, ...
17
votes
8answers
12k views

Detecting the iPhone's Ring / Silent / Mute switch using AVAudioPlayer not working?

I've tried using these methods in an attempt to detect that the Ring/Silent switch is active or not: How to programmatically sense the iPhone mute switch? AVAudioSession category not working as ...
22
votes
4answers
38k views

How to compress/resize image on iPhone OS SDK before uploading to a server?

I'm currently uploading an image to a server using Imgur on iOS with the following code: NSData* imageData = UIImagePNGRepresentation(image); NSArray* paths = ...
10
votes
3answers
4k views

Get list of installed apps on iphone

Is there a way (some api) to get the list of installed apps on an iphone device. While searching for similar questions, I found some thing related to url registration, but I think there must be some ...
42
votes
4answers
14k views

iOS 4 app crashes at startup on iOS 3.1.3: Symbol not found: __NSConcreteStackBlock

I'm running Xcode 3.2.3 with the iOS 4.0 SDK. I built my app with Base SDK = iphoneos4.0, Active SDK = iphoneos4.0, Deployment Target = 3.1.3, and Architecture = standard (arm6 arm7). Compiler = GCC ...
45
votes
3answers
36k views

What are block-based animation methods in iPhone OS 4.0?

I am trying to implement a game using the iPhone OS 4.0 (iOS4?) SDK. In the previous versions of the SDK, I've been using the [UIView beginAnimations:context:] and [UIView commitAnimations] to create ...
22
votes
8answers
28k views

Issue with iphone sdk 4.2.1

Probably a silly question. When running my project on the Device in the debug mode I get a lot of warnings al having the following string: warning: Unable to read symbols for ...
10
votes
5answers
14k views

How to set Local Notification repeat interval to custom time interval?

I am making an iPhone app, which has a requirement of Local Notifications. In local notifications there is repeatInterval property where we can put the unit repeat intervals for mintute, hour, ...
0
votes
0answers
106 views

Sound stop playing [duplicate]

Possible Duplicate: iPhone - Sound overlapping with multiple button presses - (void)playOnce:(NSString *)aSound { NSString *path = [[NSBundle mainBundle] pathForResource:aSound ...
24
votes
5answers
28k views

dial a phone number using iOS

does anyone know how to dial programmatically a phone number that includes number and access code using iOS sdk. EX: number: 900-3440-567 Access Code: 65445
22
votes
1answer
10k views

pdf file text reading and searching

I want to read text from pdf file and search text into pdf file. here the link that i know. none of this help me out. Getting text position while parsing pdf with Quartz 2D HIghlighting the text ...
11
votes
1answer
4k views

How to record video of screen like Talking Tom Cat on iPhone?

I want to know if there is any public API in AVFoundation or any other framework which can be used to record screen like Talking Tom Cat does. I looked into AVFoundation and CoreVideo frameworks but ...
17
votes
3answers
27k views

How to detect Swipe Gesture in iPhone SDK?

In my iPhone app, I require to recognize the swipe gesture made by the user on the view. I want the swipe gestures to be recognized and perform a function on swipe. I need that the view should ...

1 2 3 4 5 63
15 30 50 per page