Re: UIAlertView has zero bounds
Re: UIAlertView has zero bounds
- Subject: Re: UIAlertView has zero bounds
- From: Kyle Sluder <email@hidden>
- Date: Mon, 20 Apr 2015 11:02:55 -0500
On Mon, Apr 20, 2015, at 05:54 AM, Roland King wrote:
> 2) "The view hierarchy for this class is private and must not be
> modified”. In the strictest sense adding a UITextField to the UIAlertView
> is modifying the view hierarchy and thus something which you probably
> shouldn’t be doing.
What Roland said.
But also:
> - (IBAction) button: (id) sender
> {
> [ --- snip --- ]
>
> [alertView show];
>
> CFRunLoopRun();
>
Why are you doing this? There is already a running runloop on the main
thread. You pretty much never want to nest runloop invocations like
this, especially on iOS.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden