RE: Problems with UIAlertView

2011-08-17 Thread Julius Oklamcak
> I'm looking at popovers. I'm wondering if there is any way that I'm overlooking to make popovers modal. The UIViewController that you present in the popover has a property named modalInPopover: "The default value of this property is NO. Setting it to YES causes an owning popover controller to d

Re: Problems with UIAlertView

2011-08-16 Thread Laurent Daudelin
Thanks, all, for all the good suggestions. I've discovered the UIPopoverControllerDelegate method "popoverControllerDidDismissPopover:" and that seems to do the trick. I overlooked the modalInPopover property, it seems. I'll have a look at it but I think I have a replacement for that UIAlertView

Re: Problems with UIAlertView

2011-08-16 Thread Hunter Hillegas
There's a method on UIPopoverDelegate that allows you to tell it NOT to dismiss a popover. something like (BOOL)shouldDismissPopover:(UIPopover *)popover you can use that to make a popover modal. On Aug 16, 2011, at 4:09 PM, Laurent Daudelin wrote: > I'm looking at popovers. I'm wondering if t

Re: Problems with UIAlertView

2011-08-16 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/16/11 4:09 PM, Laurent Daudelin wrote: > 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

Re: Problems with UIAlertView

2011-08-16 Thread Laurent Daudelin
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: Lau

Re: Problems with UIAlertView

2011-08-16 Thread Laurent Daudelin
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:

Re: Problems with UIAlertView

2011-08-16 Thread Laurent Daudelin
On Aug 16, 2011, at 06:20, Fritz Anderson wrote: > On 15 Aug 2011, at 9:45 PM, Laurent Daudelin wrote: > >> I'm having a problem with a UIAlertView that was working fine under iOS 4. >> Now, when running under iOS 4.3.2, the application crashes when the user >> click on the "Go" button and I'm

Re: Problems with UIAlertView

2011-08-16 Thread Laurent Daudelin
Hmmm… I'm pretty sure I downloaded the GM when Lion came out but I'll double-check. Thanks! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys

Re: Problems with UIAlertView

2011-08-16 Thread Gordon Apple
I¹m doing the same thing under iOS 4.3.3 with no problems (no private APIs). Is this liable to break under new OS? On 8/16/11 11:38 AM, "cocoa-dev-requ...@lists.apple.com" wrote: > On 15 Aug 2011, at 9:45 PM, Laurent Daudelin wrote: > >> > I'm having a problem with a UIAlertView that was worki

Re: Problems with UIAlertView

2011-08-16 Thread Hunter Hillegas
My version of 4.1 is Build 4B110 so it sounds like you're maybe not on the GM of 4.1? On Aug 15, 2011, at 9:45 PM, Laurent Daudelin wrote: > I'm using Xcode 4.1, build 48103. Crash occurs both on the iPad (running > 4.3.2) and in the simulator (4.3) although I just discovered that if I click >

Re: Problems with UIAlertView

2011-08-16 Thread Fritz Anderson
On 15 Aug 2011, at 9:45 PM, Laurent Daudelin wrote: > I'm having a problem with a UIAlertView that was working fine under iOS 4. > Now, when running under iOS 4.3.2, the application crashes when the user > click on the "Go" button and I'm not sure why, since I haven't changed > anything in this

Re: Problems with UIAlertView

2011-08-16 Thread Matt Neuburg
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 >>> Subject: Problems with UIAlertView >> >>

Problems with UIAlertView

2011-08-15 Thread Laurent Daudelin
I finally found out that my UITextField delegate 'textFieldShouldReturn:' is called. When I detect that the textfield that has returned is the last one on the view, I call: [(UIAlertView *)[iPadNumberTextField superview] dismissWithClickedButtonIndex:1 animated:YES]; That's what is removing th

Re: Problems with UIAlertView

2011-08-15 Thread Laurent Daudelin
On Aug 15, 2011, at 21:39, Matt Neuburg wrote: >> >> Date: Mon, 15 Aug 2011 19:45:03 -0700 >> From: Laurent Daudelin >> Subject: Problems with UIAlertView > >> [loginAlertView addSubview:emailAddressTextField]; >> [loginAlertView addSubview:pass

Re: Problems with UIAlertView

2011-08-15 Thread Laurent Daudelin
I'm using Xcode 4.1, build 48103. Crash occurs both on the iPad (running 4.3.2) and in the simulator (4.3) although I just discovered that if I click the "cancel" button of the UIAlertView, my alertView:didDismissWithButtonIndex: is correctly called and it doesn't crash. Not sure what that mean

Re: Problems with UIAlertView

2011-08-15 Thread Matt Neuburg
> Date: Mon, 15 Aug 2011 19:45:03 -0700 > From: Laurent Daudelin > Subject: Problems with UIAlertView > [loginAlertView addSubview:emailAddressTextField]; > [loginAlertView addSubview:passwordTextField]; > [loginAlertView addSubview:iPadNumberTextFi

Re: Problems with UIAlertView

2011-08-15 Thread Hunter Hillegas
What version of Xcode are you using? There was a bug very similar to this in earlier beta versions of Xcode 4.1. On Aug 15, 2011, at 7:45 PM, Laurent Daudelin wrote: > Instead, I have to click the thread in the thread popup in the path-like > control above the console output. Then, I get the st

Re: Problems with UIAlertView

2011-08-15 Thread Jens Alfke
On Aug 15, 2011, at 7:45 PM, Laurent Daudelin wrote: > I'm having a problem with a UIAlertView that was working fine under iOS 4. > Now, when running under iOS 4.3.2, the application crashes when the user > click on the "Go" button Maybe your delegate object (‘self’ in your snippet) got deallo

Problems with UIAlertView (2)

2011-08-15 Thread Laurent Daudelin
Forget my question about Xcode 4 and the stacktrace. I found the slider that controls how much details is displayed in the navigation view. My problem with UIAlertView still stands, though :-/ -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://

Problems with UIAlertView

2011-08-15 Thread Laurent Daudelin
Hello. I'm having a problem with a UIAlertView that was working fine under iOS 4. Now, when running under iOS 4.3.2, the application crashes when the user click on the "Go" button and I'm not sure why, since I haven't changed anything in this code in months. Basically, I set up and UIAlerView