Shefali Soni
Shefali Soni

Reputation: 1302

UIKeyboardTypeDecimalPad for currency field in 4.3 iphone sdk

I am not able to successfully use UIKeyboardTypeDecimalPad when i run on simulator 4.3 and it successfully works on simulator 5.0. I have currency to be filled in textfield.

How can i use UIKeyboardTypeDecimalPad for device running 4.3 ?

Edited in simulator 4.3 it is giving following warning: "Can't find keyplane that supports type 8 for keyboard iPhone-Portrait-DecimalPad; using Default"

Upvotes: 1

Views: 1367

Answers (2)

Shefali Soni
Shefali Soni

Reputation: 1302

simulator autocorrection was called which crashed my app.. it is Lion 10.7.2 + Xcode 4.2 + Simulator running iOS 4.3 problem

Now solution to it is

We have to update Simulator 4.3 , by following this steps: 1) Go to Xcode->Preferences->Download 2) Update iOS 4.3 Simulator

And Reset Simulator ,and run it again... its done...

Upvotes: 1

Stark
Stark

Reputation: 441

I think it's a warning because i am using IOS 4.3 and it's printing that error in Logs and working perfectly.I am using following code

- (void)viewDidLoad
{
  [super viewDidLoad];
  myTextField.keyboardType=UIKeyboardTypeDecimalPad;
}

Upvotes: 1

Related Questions