Quantcast
Viewing all articles
Browse latest Browse all 204402

My UIAlertView no longer works in iOS7

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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>