Bug 5741 - UIAlertView showing two buttons when it never used to
Summary: UIAlertView showing two buttons when it never used to
Status: RESOLVED DUPLICATE of bug 5646
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 5.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-19 07:20 UTC by Dylan
Modified: 2012-06-19 08:22 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
incorrect UIAlertView (192.13 KB, image/png)
2012-06-19 07:20 UTC, Dylan
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 5646

Description Dylan 2012-06-19 07:20:50 UTC
Created attachment 2082 [details]
incorrect UIAlertView

All of a sudden, with 5.3.4 beta my UIAlertView's are displaying two Yes buttons. And when you touch the top Yes button the app crashes.

  UIAlertView alerter = new UIAlertView("Proceed with Payment?", "Are you sure you wish to make this payment now?", confirmationDelegate, "Maybe Later", "Yes");
            alerter.Show();

...

         private class Confirmation : UIAlertViewDelegate
        {
            private ConfirmPurchaseScreen parent;
            private int total;
			
            public Confirmation(ConfirmPurchaseScreen screen, int total) : base()
            {
                parent = screen;
                this.total = total;
            }
			
            public override void Clicked(UIAlertView alertview, int buttonIndex)
            {
                if (buttonIndex == 1)
                {					
                    parent.Purchase(total);		
                }
            }
        }


It was working perfectly until I tried the latest beta.
Comment 1 Sebastien Pouliot 2012-06-19 08:22:57 UTC

*** This bug has been marked as a duplicate of bug 5646 ***