swift - iOS 9 iPad Keyboard get rid of "undo view" -
how possible rid of annoying "undo view" shown on ipad in ios 9. 
below own keyboard, above accessory view. (just testing purposes in ugly color). can please tell me how remove it? in advance.
for swift 2.0, replace yourtextview variable of uitextview call keyboard. can place code in viewdidload , work charm.
if #available(ios 9.0, *) { let item : uitextinputassistantitem = yourtextview.inputassistantitem item.leadingbarbuttongroups = [] item.trailingbarbuttongroups = [] } else { // fallback on earlier versions }
Comments
Post a Comment