Re: Problems with UIAlertView
Re: Problems with UIAlertView
- Subject: Re: Problems with UIAlertView
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 16 Aug 2011 16:09:39 -0700
On Aug 16, 2011, at 06:10, Matt Neuburg wrote:
> 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.
I'm looking at popovers. I'm wondering if there is any way that I'm overlooking to make popovers modal. So far, in all the samples I looked at, if you just tap outside the popover, it will dismiss. I read about the passthroughViews property. If I set that property to nil, will this prevent the popover from being dismissed?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
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