我目前正在尝试将自定义inputAccessoryView
置于UITabBar
之上。但如下所示,实际inputAccessoryView
涵盖了UITabBar
。有办法吗?也许通过在inputAccessoryView
的超级视图上加上一些底部约束?
- (BOOL)canBecomeFirstResponder {
return YES;
}
- (UIView *)inputAccessoryView {
self.inputAccView.delegate = self;
return self.inputAccView;
}