简体   繁体   English

XCode-是否可以在Interface Builder中向PickerView添加列和图像?

[英]XCode- is it possible to add columns and images to PickerView in Interface Builder?

Is it possible to add images and columns to Picker View in XCode Interface Builder? 是否可以在XCode Interface Builder中将图像和列添加到Picker View?

Image here: 图片在这里:

例 http://media.tumblr.com/tumblr_l5fgqaBrEo1qar71d.jpg 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... 我应该提出类似的东西..我对开发iphone应用程序很陌生,但是确实有C#/ Java的经验...

any tips/inputs? 任何提示/输入?

thanks in advance!! 提前致谢!!

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

What chrispix says is correct. chrispix说的是正确的。 but you can't create the whole view using Interface Builder 但您无法使用Interface Builder创建整个视图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM