Yep.... good stuff. I forgot about those.... been on iOS8 too long -
have converted all my code to UIAlertController(s).
But the OP won't use UIAlertController to be backwards compatible and
(I guess) had not seen those calls.
Gary
On Apr 22, 2015, at 10:03 AM, Jamie Montgomerie wrote:
On Apr 20, 2015, at 6:37 PM, M Pulis <tooth...@fastq.com> wrote:
Sure...
BYOV - build your own view:
Create a custom UIViewController, pop in a UITextField and a couple
of buttons.
Works on all versions, done in under an hour max….
There’s no need to do that! You already brought up the use of
UIAlertViewStyleSecureTextInput. If you look at the documentation
(or even just the header), you’ll see a
UIAlertViewStylePlainTextInput too.
-setAlertViewStyle: and -textFieldAtIndex: are public, supported
APIs: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIAlertView_Class/index.html
I would encourage using UIAlertController though if you can - it’s
where the future lies, and its text field API is a little nicer.
Jamie.
Good Luck!
Gary
...working in a code mind...
On Apr 20, 2015, at 4:18 PM, Michael Crawford wrote:
Is there a way to prompt for a text string?
Michael David Crawford, Consulting Software Engineer
mdcrawf...@gmail.com
http://www.warplife.com/mdc/
Available for Software Development in the Portland, Oregon
Metropolitan
Area.
On Mon, Apr 20, 2015 at 4:12 PM, Kyle Sluder <k...@ksluder.com>
wrote:
On Mon, Apr 20, 2015, at 05:59 PM, Michael Crawford wrote:
The method for iOS 5 and later on this page looks good:
Please stop reaching in to the UIAlertView hierarchy. As has been
documented forever, this is not supported.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com