Refers to the iPhone software development kit, version 3.0.
Questions tagged [iphone-sdk-3.0]
2772 questions
130
votes
11 answers
Can I change the color of auto detected links on UITextView?
I had a UITextView that detects phone numbers and links, but this overrides my fontColor and change it to blueColor. Is there a way to format the color of auto detected links, or should I try a manual version of this function?

Leandro Alves
- 2,190
- 3
- 19
- 24
115
votes
18 answers
How to change Xcode Project name
I have developed my app in Xcode for iPhone, in start I have just named it without secnec now I want to change my app name I have replace my old app name with new one as I have found the name in my app, but its still giving me one…

Haseeb
- 1,185
- 2
- 8
- 12
113
votes
21 answers
Couldn't register with the bootstrap Server
I just changed some code in my program and got this error:
Couldn't register com.yourcompany.XXX with the bootstrap server.
Error: unknown error code.
This generally means that another instance of this process was already
running or is hung in…

MadProfit
- 1,174
- 2
- 8
- 8
109
votes
14 answers
How to detect when keyboard is shown and hidden
How can I detect when the keyboard is shown and hidden from my application?

user198725878
- 6,266
- 18
- 77
- 135
106
votes
10 answers
How to delete all Annotations on a MKMapView
Is there a simple way to delete all the annotations on a map without iterating through all the displayed annotations in Objective-c?

kevin Mendoza
- 1,211
- 2
- 12
- 16
97
votes
15 answers
How to intercept touches events on a MKMapView or UIWebView objects?
I'm not sure what I am doing wrong but I try to catch touches on a MKMapView object. I subclassed it by creating the following class :
#import
#import
@interface MapViewWithTouches : MKMapView {
}
- (void)…

Martin
- 2,290
- 1
- 23
- 28
69
votes
22 answers
iPhone Simulator: SpringBoard failed to launch application with error: 7
Building an iPhone project results in:
Failed to launch simulated application: SpringBoard failed to launch application with error: 7
And the app doesn't install on the simulator. What's this all about? What's SpringBoard and what is error 7?
John Doe
66
votes
15 answers
Prevent a UISearchDisplayController from hiding the navigation bar
Whenever a user begins editing a UISearchDisplayController's search bar, the search controller becomes active and hides the view's navigation bar while presenting the search table view. Is it possible to prevent a UISearchDisplayController from…

hadronzoo
- 1,696
- 1
- 15
- 17
64
votes
9 answers
How to include and use new fonts in iPhone SDK?
I want to use font "MgOpen Modata" in my iphone App. But I dont see it in the font list in Property inspector.
How do I include that font so that I can use it?

meetpd
- 9,150
- 21
- 71
- 119
60
votes
1 answer
How to make an iPhone app compatible with multiple SDK (firmware) versions
With iOS 4 coming out soon, I have already planned to include an iAd in a future update of an app of mine. I assume that this will make my app unusable for anyone on a firmware lower than 4.0. Is there a way to change those variables and the .xib…

Dyldo42
- 2,358
- 2
- 22
- 26
60
votes
6 answers
How to update iPhone SDK without having to re-download Xcode?
Silly question - Is there a way to download the iPhone SDK without Xcode when Apple releases an update?

Graeme
- 1,317
- 4
- 18
- 27
60
votes
15 answers
iPhone UILabel text soft shadow
I know soft shadows are not supported by the UILabel out of the box, on the iPhone. So what would be the best way to implement my own one?
EDIT:
Obviously I will subclass the UILabel and draw in the -drawRect:
My question is, how do I get the…

Dimitris
- 13,480
- 17
- 74
- 94
53
votes
3 answers
How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS
I am trying to update my iPhone app to work with OS 3.0. I have a UIWebView that shows a page fine. But when I click a link it calls my delegate for didFailLoadWithError and the error is Operation could not be completed. (NSURLErrorDomain error…

dp.
- 1,741
- 2
- 11
- 8
51
votes
6 answers
How to add hours to an NSDate?
I have a date converted to double value and saved in database. Now, I want to compare if currentDate > myDataBaseDate + 8 hours i.e., I want to get 8 hours added to myDataBaseDate. I'm converting date into double values. So how do I get 8 hours…

Rahul Vyas
- 28,260
- 49
- 182
- 256
51
votes
25 answers
UITextField for Phone Number
I was wondering how I can format the textField that I'm using for a phone number (ie like the "Add New Contact" page on the iPhone. When I enter in a new mobile phone, ex. 1236890987 it formats it as (123) 689-0987.)
I already have the keyboard set…
None