So I have UIDatePicker initialized programmatically. It has some subviews with NSLayoutConstraints
. Also it has a custom text color setValue(textColor, forKey:"textColor")
. It is positioned in superview with the help of NSLayoutConstraints
.
Every time it stops scrolling some text is produced in Debug area:
<_UIFeedbackRetargetBehavior: 0x60000011b750: prepared=0> is being deactivated more times that it'd been activated, this will raise soon!
So I'm a bit worried. Google finds nothing... Does anybody have an explanation?
Xcode 8. Swift 3. iPhone SE simulator.
If you still encounter this issue.
What helped for me was making the UIPickerView a class member (not a variable in method's context).
Or you could also have it created in the storyboard/.xib file and link it as an IBOutlet to your class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With