UIButton with cornerRadius display incorrectly on some devices

Originator:exsephiroth87
Number:rdar://22932084 Date Originated:01-Oct-2015 02:48 PM
Status:Open Resolved:
Product:iOS Product Version:9.0.1
Classification:UI/Usability Reproducible:Always
 
Summary:
Setting the cornerRadius of the layer of a UIButton with a solid background color will display 2 darker lines at the top and the bottom of it.
Attached sample project and device screenshot

Steps to Reproduce:
1. Set button's layer.cornerRadius 
1. Run on device

Expected Results:
The button renders correctly

Actual Results:
The button will display 2 darker lines

Version:
iOS 9.0.1

Notes:
Tested on iPhone6S and the problem does not appear there

Configuration:
iPhone6

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!