UITableViewController ignores separatorStyle set in NIB/storyboard
| Originator: | grant.butler | ||
| Number: | rdar://22030016 | Date Originated: | 28-Jul-2015 10:35 AM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 9.0 [13A4305g] |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When creating a UITableViewController in a NIB or a storyboard, the UITableView instance that is created ignores the Separator Style that has been set in the NIB or storyboard. You'll have to set the separatorStyle of the tableView in -viewDidLoad to get the desired behavior. Steps to Reproduce: 1. Create a new project. 2. In your storyboard, add a UITableViewController. 3. Set the Separator Style to "None." 4. Run the app. Expected Results: The table view has no separators. Actual Results: The table view has separators, and its separatorStyle is set to UITableViewCellSeparatorStyleSingleLine. Version: iOS 9.0 [13A4305g] Notes: Configuration: iOS Simulator, WiFi iPad Air 2 Attachments: 'SeparatorTest.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!