UIPickerView 作为子视图
我正在尝试创建一个包含 UIPickerView 的对话框。我可以让它在没有子视图绑定的情况下工作,但我总是会遇到未捕获的错误。有什么帮助吗?
I am trying to create a Dialog Box in which contains a UIPickerView. I can get it to work without the Subview tied around it but I always end up with an Uncaught error. Any help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然我通过弄乱这个方法来修复 -(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component
Well apparently I fixed by messing with this method -(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component