Navigation item button is not triggered for iPad (simulator or device)
| Originator: | michaelpspecht | ||
| Number: | rdar://28760771 | Date Originated: | 13-Oct-2016 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 10.0 |
| Classification: | UI | Reproducible: | Always |
Summary: On iPad (simulator or device, tested on 9.3 and 10.0), attempting to tap a UIBarButtonItem that was added in interface builder to the storyboard that has an action set up in the viewdidload of a view controller, the action would not be fired. If the user taps into the textbox on screen to bring up the keyboard however, the action fires fine. If the users then dismisses the keyboard (by tapping on the hide keyboard button in the bottom right of the keyboard), tapping the button will do nothing again. Steps to Reproduce: 1. Run xcode project on iPad 2. Click "SHOW ALERT" button and nothing will happen 3. Click into text box so keyboard appears 4. Click "SHOW ALERT" button and alert is displayed. 5. Dismiss alert 6. Hide keyboard by pressing button in bottom right of keyboard 7. Click "SHOW ALERT" button and no alert is displayed Expected Results: Alert would show every time the user clicks "SHOW ALERT" button Actual Results: Alert is only shown when user clicks "SHOW ALERT" button AND the keyboard is displayed.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!