Native UIDatePicker crashed in Mobile Safari and UIWebView
| Originator: | mkondakov83 | ||
| Number: | rdar://15276403 | Date Originated: | 2013/10/21 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | All |
| Classification: | Crash | Reproducible: | Always |
Summary: Native UIDatePicker always crashes in Mobile Safari and UIWebView. To reproduce this issue just add simple <input type="date" ... /> to any html page. Crash reproduced on iPhone, iPad and Simulator, iOS 6 and iOS 7 Steps to Reproduce: 1. add <input type="date" ... /> to any html page 2. open page in Mobile Safari or UIWebView 3. click on input element 4. spin any of picker (year, months or day) 5. at the last moment, before picker finally stops click Done button Expected Results: Date changed Actual Results: Crash I've been handled a few types of errors: 1. *** -[UIWebDefaultDateTimePicker performSelector:withObject:]: message sent to deallocated instance 0x11bc81f0 2. *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDeviceWhiteColor _dateChangeHandler:]: unrecognized selector sent to instance 0x106376f0' 3. *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString _dateChangeHandler:]: unrecognized selector sent to instance 0x12139f70' Version: iOS 6.x, iOS 7.x, maybe iOS 5.x and less Notes: Configuration: iOS 6 Simulator, iOS 7 Simulator, iPhone 5 with iOS 7, iPad mini with iOS 6, iPad 2 with iOS 7, iPod Touch with iOS 6. Attachments: 'CrashLog.txt' 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!
Status changed to Important