Questions tagged [iphone-sdk-2]

Refers to the iPhone software development kit, version 2.0.

9 questions
168
votes
13 answers

What are best practices for validating email addresses on iOS 2.0

What is the cleanest way to validate an email address that a user enters on iOS 2.0? NOTE: This is a historical question that is specific to iOS 2.0 and due to its age and how many other questions are linked to it it cannot be retired and MUST NOT…
Marcus S. Zarra
  • 46,143
  • 9
  • 99
  • 181
151
votes
10 answers

How do I wrap text in a UITableViewCell without a custom cell

This is on iPhone 0S 2.0. Answers for 2.1 are fine too, though I am unaware of any differences regarding tables. It feels like it should be possible to get text to wrap without creating a custom cell, since a UITableViewCell contains a UILabel by…
Airsource Ltd
  • 31,336
  • 13
  • 69
  • 74
10
votes
2 answers

How to get functionality of Long Press gesture in iOS below 3.2

UILongPressGesture is available in ios ver 3.2 and later. But i am trying to develop application for maximum compatibility and hence targeting ios ver2.0 Can anyone please guide me on how to accomplish long press gesture in ios v2.0
Amit
  • 1,071
  • 6
  • 15
  • 29
1
vote
2 answers

how to send sms programmatically in iphone 2.0

I need to send email programmatically in iphone os 2.0. some where i found NSString *url = [NSString stringWithString:…
Mahesh Babu
  • 3,209
  • 9
  • 45
  • 94
0
votes
1 answer

How to find maximum capacity and current available capacity of battery in iphone?

In my application I can find the battery level using [[UIDevice currentdevice] batterylevel], it is working only in 3.0 or later versions. I don't know how to find the maximum capacity and currently available capacity of battery. Also, how can I…
sirisha
  • 41
  • 1
  • 1
  • 8
0
votes
3 answers

iPhone SDK 3/4 App will not run on a iPhone 2.x device even with deployment target set to 2.0

I know about the difference between the base/active SDKs and the deployment target. I have my base SDK set at 4.0 and the deployment target set at 2.0. I am not using any APIs post 2.x, conditional or otherwise. Since I can't debug on a 2.x…
Mark A. Donohoe
  • 23,825
  • 17
  • 116
  • 235
0
votes
1 answer

How to develop an application which will be compatible for iPhone and iPod Touch 2.0 and above

I have a requirement of developing an application which will be compatible for iPhone and iPod Touch 2.0 and above. So I have number of questions. 1) Do I need to take care of all the deprecated methods and how? 2) I think there is no support for…
Roger_iPhone
  • 737
  • 1
  • 9
  • 20
0
votes
1 answer

Works in OS 2.2.1 but not in OS 3.0: Error: type of accessor?

Does Anyone have any idea why this code produces this errors in OS 3.0 and not OS 2.2.1? NSUInteger aCount = [serverBrowser.servers count]; error: type of accessor does not match the type of property 'servers' ServerBrowser.h is define below and…
Jordan
  • 21,598
  • 10
  • 48
  • 63
-1
votes
2 answers

Where can I get the iPhone 2.0 SDK?

I just set up a new macbook pro, installed xcode and the latest iphone SDK; However, I have an iPhone app that needs to target the 2.0 SDK. I have 2.2.1, 3.0, and 3.1 available in xcode, but for the life of me cannot figure out where to get 2.0. I…
mmattax
  • 25,441
  • 39
  • 110
  • 143