1

I want to get this alertView callback

  1. This alertView pop up from system;

  2. I want to know when the user click "Cancel", and when the user click "Pair".

    I know AppDelegate.m->applicationDidBecomeActive: will be executed, but I don't know the user click "Cancel" or "Pair".

Anyone give some help? Thanks.

Antony Wong
  • 562
  • 5
  • 17
  • There is no direct indication of whether they clicked cancel or pair; If they clicked pair and completed pairing then you should get Bluetooth data. If they clicked cancel then you will be unable to read the Bluetooth attributes with encryption required – Paulw11 Jul 27 '16 at 03:03
  • Means you want to detect the action of user on click of Pair and Cancel button. – Pankaj Gupta Jul 27 '16 at 04:11
  • This link my help you http://stackoverflow.com/questions/3491724/detecting-button-click-with-uialertview – Pankaj Gupta Jul 27 '16 at 04:25

0 Answers0