A UISearchBar with an autocapitalizationType of UITextAutocapitalizationTypeNone is incorrectly deserializaed from a storyboard.

Originator:iosdeveloperzone
Number:rdar://22657773 Date Originated:11-Sep-2015 12:44 AM
Status:Open Resolved:
Product:iOS Product Version:8.2 (12D5480a), 8.3 (12F701) and 8.4.1 (12H321)
Classification:Other Bug Reproducible:Always
 
Summary:
When the autocapitalizationType of a UISearchBar is configured in a storyboard to be UITextAutocapitalizationTypeNone it is ignored and the UISearchBar will be created with type UITextAutocapitalizationTypeSentences. All other values work as expected.

Steps to Reproduce:
In numbered format, detail the exact steps taken to produce the bug.

Expected Results:
The autocapitalizationType of the UISearchBar should match that in the storyboard/Interface Builder.

Actual Results:
See summary above.

Regression:
This is a regression from 7.1.1 (11D201). Problem occurs in 8.2 (12D5480a), 8.3 (12F701) and 8.4.1 (12H321)

Notes:
Provide additional information, such as references to related problems, workarounds and relevant attachments.

Comments

Sample code on github

A project demonstrating this issue can be found at https://github.com/iosdevzone/UISearchBarRadar

By iosdeveloperzone at Sept. 11, 2015, 7:48 a.m. (reply...)

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!