Questions tagged [iphone-sdk-3.0]

Refers to the iPhone software development kit, version 3.0.

2772 questions
28
votes
3 answers

How can an iPhone access another non-iPhone device over wireless or Bluetooth?

I'm trying to figure out if an iPhone can connect to another non-iPhone device over wireless or Bluetooth and have seen conflicting information. Much of what I've found was before version 3.0 of the SDK came out, when it certainly wasn't possible.…
Tai Squared
  • 12,273
  • 24
  • 72
  • 82
27
votes
2 answers

Bundle Display Name Max Length

What is the maximum length of an iPhone App name (bundle display name, shown below the app on the iPhone home screen) that we can use without an ellipsis "..." being added?
meetpd
  • 9,150
  • 21
  • 71
  • 119
27
votes
7 answers

Check whether zoom level changed

I'm using MapKit on iPhone. How can I know when the user changes the zoom level (zoom in\out the map)? I've tried to use mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated; but that's called even when the map is only…
Rizon
  • 1,516
  • 4
  • 25
  • 45
27
votes
4 answers

Sending POST data from iphone over SSL HTTPS

Hai all, In my iphone project i need to pass the user name and password to a web server,previously i pass data using GET method and used the url with GET format (eg: localhost:8888/login?userName=admin&password=password ) but now i need to sent this…
shinto Joseph
  • 1,039
  • 3
  • 16
  • 27
26
votes
3 answers

Detecting a Lightweight Core Data Migration

I'm using Core Data's automatic lightweight migration successfully. However, when a particular entity gets created during a migration, I'd like to populate it with some data. Of course I could check if the entity is empty every time the application…
hadronzoo
  • 1,696
  • 1
  • 15
  • 17
26
votes
7 answers

How to download PDF and store it locally on iPhone?

I am able to successfully view a PDF from a website. I want to be able to download that PDF to the device, then access that file locally. When the app is opened, it will check the online PDF's date. If it is newer than the locally-stored PDF, the…
Zac Altman
  • 1,215
  • 4
  • 25
  • 37
26
votes
4 answers

How can my server securely authenticate iPhone in-app purchase?

Look at Apple's diagram for the server purchase model. In step #9, how can the server know that it is really talking with an iPhone that is entitled to the purchase, and that Eve is not performing a replay with a dishonestly obtained receipt? The…
25
votes
5 answers

can Jailbroken iphone used for development

We have paid developer account for iphone development and we have 2 iphones one jail broken and other one non jail broken. We have registered both phones for development and got provisioning profile. We can use non jailbroken phone for development.…
Manish
  • 417
  • 1
  • 6
  • 14
25
votes
7 answers

Can I select a specific block of text in a UITextField?

I have a UITextField in my iPhone app. I know how to make the text field select all of its text, but how can change the selection? Say I wanted to select the last 5 characters, or a specific range of characters, is that possible? if not, can I move…
Sunian314
  • 329
  • 1
  • 4
  • 11
25
votes
6 answers

iPhone sdk - open app store to specific app?

Is there a way to open the app store to a specific application? I tried using something like the following: [[UIApplication sharedApplication] openURL: [NSURL…
Kyle
  • 17,317
  • 32
  • 140
  • 246
25
votes
3 answers

How can we navigate back to previous view programmatically in iPhone?

I am working on iPhone application which based on navigation controller. for example there are 2 views here. A (UITableViewController) and B (ViewController) the quest is here. when user select an item in View A. The application will force…
Teerasej
  • 1,486
  • 4
  • 21
  • 31
24
votes
2 answers

Where are the UIKit Framework implementation files located?

I can find the UIKit header files but i'd like to see how some of the UIKit classes are being implemented because i'm trying to create some custom controls. So basically i'm trying to find the UIKit .m files, where would they be located on my mac?
Christian Gossain
  • 5,942
  • 12
  • 53
  • 85
24
votes
3 answers

How to get UIViewController of a UIView's superview in iOS?

I have a UIViewController in which I have a UITextView added from interface builder. Now I want to push a view when I click on hyperlink or phone number. I am able to detect that which url is clicked using a method I found in stackoverflow. Here is…
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
23
votes
7 answers

Changing UITableViewCell textLabel background color to clear

In my app I have a table view with customViewCells. I subclassed the UITableViewCell class and added an image that will load async and for the text I use cell.textLabel.text = @"someThext". For the cells the background color is set alternatively to…
Sorin Antohi
  • 6,145
  • 9
  • 45
  • 71
22
votes
4 answers

NSString to NSurl

having trouble getting NSSTRING to convert to NSURL, item.image, holds the url for an image that im getting through xml NSString *urlString = [NSString stringWithFormat:@"%@", item.image]; NSURL *url = [NSURL…
user616860
  • 309
  • 1
  • 3
  • 10