Reputation: 781
Is there anyway to remove the upper bar that includes a Done button either using storyboard or in code?
I've noticed this Done button varies between IOS versions and is not present in all of them. I don't need it because I have a custom button.
Upvotes: 2
Views: 3931
Reputation: 1
Try initializing the above code with frame zero, it works!
textfield.inputAccessoryView = UIView(frame: CGRect.zero)
Upvotes: 0
Reputation: 1374
try with setting an empty view as inputAccessoryView
, this should work
textfield.inputAccessoryView = UIView()
Upvotes: 6