EXC_BAD_ACCESS using UIAlertView in Swift
| Originator: | rsattar | ||
| Number: | rdar://17188083 | Date Originated: | 05-Jun-2014 04:37 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode Version 6.0 (6A215l) |
| Classification: | Reproducible: | Always |
Summary: Trying to create a UIAlertView crashes with EXC_BAD_ACCESS Steps to Reproduce: 1. Create single view application 2. Add a button to the view controller, attach an IBAction to it 3. In the IBAction, create a simple UIAlertView and show it Expected Results: The UIAlertView would show Actual Results: Application crashes with EXC_BAD_ACCESS in the initializer for UIAlertView Version: iOS 7.0.3 (Simulator), iOS 7.1.1 (iPhone 5s) Notes: Sample xcode project included (though reproduction is trivial) Configuration: iPhone Simulator, or iPhone 5s running 7.1.1 Attachments: 'AlertViewCrash.zip' was successfully uploaded.
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!