【发布时间】:2011-11-27 14:51:32
【问题描述】:
我已经创建了自己的键盘,我想在uitextview 中打开它来代替 iPhone 提供的标准键盘来输入文本。在 Apple 文档中,我在 UIResponder 类参考中找到了一个属性 inputView .
它在这个链接上给出:-here
但我不知道如何使用这个属性。请告诉我如何正确使用这个属性。
我试过像这样使用这个属性
UIView *mainView;
@property (readwrite,retain) IBOutlet UIView *mainView;
- (UIView *)inputView {
return mainView;
}
【问题讨论】:
标签: iphone objective-c xcode user-interface keyboard