Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用自动布局以编程方式为 UITextView 创建一个 inputAccessoryView。如果我创建一个视图并单独限制它的宽度和高度,它会出现在键盘顶部边缘的中心,而不是像我预期的那样在它上方。如何将底部边缘限制为等于键盘的顶部边缘?