I build my project in Xcode 8. UIPickerView separator lines are not visible in iOS 10 simulator and the devices, but works fine on iOS 9.3 devices and simulator. I tried to adju
Solved this problem using subclass of UIPickerView:
import UIKit
class FixedPickerView: UIPickerView, UIPickerViewDelegate {
override func willMove(toSuperview newSuperview: UIView?) {
self.delegate = self
self.selectRow(0, inComponent: 0, animated: true)
self.delegate = nil
super.willMove(toSuperview: newSuperview)
}
}