UITabBar上方的InputAccessoryView

时间:2016-01-02 13:22:54

标签: ios

我目前正在尝试将自定义inputAccessoryView置于UITabBar之上。但如下所示,实际inputAccessoryView涵盖了UITabBar。有办法吗?也许通过在inputAccessoryView的超级视图上加上一些底部约束?

- (BOOL)canBecomeFirstResponder {
    return YES;
}


- (UIView *)inputAccessoryView {
    self.inputAccView.delegate = self;
    return self.inputAccView;
}

enter image description here

0 个答案:

没有答案