Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

My UIAlertView no longer works in iOS7

$
0
0

The Alert is shown however the clicked event never fires. The OK or Cancel buttons remain lit and nothing happens.

public override void RowSelected (UITableView tableView, NSIndexPath indexPath)
{
    var x = new UIAlertView ("Media Download", "Download this file? ", null, "Cancel", "OK");
x.Show ();

x.Clicked += (sender, buttonArgs) => {

    Console.WriteLine("Pressed!");  /// THIS NEVER HAPPENS

    }

}

This worked fine in iOS6 :(


Viewing all articles
Browse latest Browse all 204402

Trending Articles