XCode-是否可以将列和图像添加到 Interface Builder 中的 PickerView?

发布于 2024-09-09 04:33:57 字数 368 浏览 1 评论 0原文

是否可以将图像和列添加到 XCode Interface Builder 中的选取器视图?

图片在这里:

example http://media.tumblr.com/tumblr_l5fgqaBrEo1qar71d.jpg

我应该出现类似的东西..我对开发iPhone应用程序很陌生,但有C#/Java的经验...

有什么提示/输入吗?

提前致谢!!

Is it possible to add images and columns to Picker View in XCode Interface Builder?

Image here:

example
http://media.tumblr.com/tumblr_l5fgqaBrEo1qar71d.jpg

I'm supposed to come up with something similar.. and I'm quite new to developing iphone app, but do have experience of C#/Java...

any tips/inputs?

thanks in advance!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听,心雨的声音 2024-09-16 04:33:57

是的,只需从选择器的委托返回一个 UIView viewForRow:forComponent: 方法。

Yes, just return a UIView from the picker's delegate's viewForRow:forComponent: method.

银河中√捞星星 2024-09-16 04:33:57

克里斯皮克斯说的是正确的。但你不能使用 Interface Builder 创建整个视图

What chrispix says is correct. but you can't create the whole view using Interface Builder

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文