When I use iOS9 simulator, a bottom bar will be shown over my app. When keyboard appears, it can do some undo / paste actions. In the first picture, I even cannot see my UITabBar now. What is this bar and how can I close it?
You've got two options:
1) Settings:
Settings -> General -> Keyboard ->Shortcuts -> Switch to off
2) Code (iOS 9 +):
Objective-c:
textField.inputAssistantItem.leadingBarButtonGroups = @[];
textField.inputAssistantItem.trailingBarButtonGroups = @[];
Swift:
textField.inputAssistantItem.leadingBarButtonGroups = []
textField.inputAssistantItem.trailingBarButtonGroups = []