Show a view over the keyboard
问题 I am looking for a way on the iPhone, due to a custom 'loading' subview, to have a subview cover the keyboard without dismissing the keyboard. Right now when the subview loads, the keyboard is still topmost. Any ideas? 回答1: add your loading view as subview on window. It will cover keyboard too. Here is a stackoverflow post for the same IPhone - Show Wait Indicator UPDATE My code #pragma mark - #pragma mark Waiting View - (void)showWaitingView { CGRect frame = CGRectMake(90, 190, 32, 32);