Re: Problems with UIAlertView
Re: Problems with UIAlertView
- Subject: Re: Problems with UIAlertView
- From: Matt Neuburg <email@hidden>
- Date: Tue, 16 Aug 2011 06:10:35 -0700
On Aug 15, 2011, at 9:49 PM, Laurent Daudelin wrote:
> On Aug 15, 2011, at 21:39, Matt Neuburg wrote:
>
>>>
>>> Date: Mon, 15 Aug 2011 19:45:03 -0700
>>> From: Laurent Daudelin <email@hidden>
>>> Subject: Problems with UIAlertView
>>
>>> [loginAlertView addSubview:emailAddressTextField];
>>> [loginAlertView addSubview:passwordTextField];
>>> [loginAlertView addSubview:iPadNumberTextField];
>>
>> Not that it necessarily has anything to do with the problem you're having, but if the UIAlertView is wrong for your needs, you should use a different interface, rather than putting subviews in the alert view... m.
>
> Although I technically agree, visually running a view modally covering the entire screen for 3 textfields doesn't look very good...
If it's an iPhone screen, it looks just fine. If it's an iPad screen, you can use a modal popover, or you can use a modal view with UIModalPresentationFormSheet, which is precisely intended for gathering data from the user as you are doing here. m.
--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
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