Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2009, 09:19 PM   #26 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 7
pawpaw17 is on a distinguished road
Default

----------
Quote:
Originally Posted by Forsworn View Post
Did you use the code I posted before?
It should work fine.

Look at those lines:
Code:
	[[myAlert textField] becomeFirstResponder];
	[myAlert show];
-------------

Hi, I'm getting the same problem,

I have 3 text fields and I did this

[[alert textFieldAtIndex:0] becomeFirstResponder];
[[alert textFieldAtIndex:1] becomeFirstResponder];
[[alert textFieldAtIndex:2] becomeFirstResponder];

Also tried just this:
[[myAlert textField] becomeFirstResponder];

To really see the issue, use a numberic keyboard type:

af = [alert textFieldAtIndex:1];
af.clearButtonMode = UITextFieldViewModeWhileEditing;
af.keyboardType = UIKeyboardTypeNumberPad;
af.keyboardAppearance = UIKeyboardAppearanceAlert;
af.autocorrectionType = UITextAutocorrectionTypeNo;

Has anyone figured this out yet? Thanks so much for the help!
pawpaw17 is offline   Reply With Quote
Old 11-12-2009, 07:22 PM   #27 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 4
AmericanArsenal is on a distinguished road
Default REJECTED FROM APP STORE

Upon review of your application, White cannot be posted to the App Store due to the usage of private APIs. Usage of such non-public APIs, as outlined in the iPhone Developer Program License Agreement section 3.3.1, are prohibited:

"3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs."

The following non-public APIs are included in your application:

addTextFieldWithValue:label:
textFieldAtIndex:

Regards,
iPhone Developer Program
****************************



Quote:
Originally Posted by pawpaw17 View Post
----------

-------------

Hi, I'm getting the same problem,

I have 3 text fields and I did this

[[alert textFieldAtIndex:0] becomeFirstResponder];
[[alert textFieldAtIndex:1] becomeFirstResponder];
[[alert textFieldAtIndex:2] becomeFirstResponder];

Also tried just this:
[[myAlert textField] becomeFirstResponder];

To really see the issue, use a numberic keyboard type:

af = [alert textFieldAtIndex:1];
af.clearButtonMode = UITextFieldViewModeWhileEditing;
af.keyboardType = UIKeyboardTypeNumberPad;
af.keyboardAppearance = UIKeyboardAppearanceAlert;
af.autocorrectionType = UITextAutocorrectionTypeNo;

Has anyone figured this out yet? Thanks so much for the help!
AmericanArsenal is offline   Reply With Quote
Old 05-20-2010, 05:39 PM   #28 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 20
lionfly is on a distinguished road
Default

Yes, the following 2 are not allowed:

Code:
addTextFieldWithValue:label:
textFieldAtIndex:
which will be rejected by Apple Store, so forget it.

Check here instead: JUNECLOUD // journal / code / displaying a password or text entry prompt on the iphone
lionfly is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 323
11 members and 312 guests
givensur, glenn_sayers, guusleijsten, ipodphone, jbro, mediaspree, mottdog, mtl_tech_guy, Punkjumper, vilisei, whitey99
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,114
Posts: 402,883
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0