开发者

How to design a view consisting of a table row ,label and dropdownlist

开发者 https://www.devze.com 2023-02-22 09:24 出处:网络
I am not getting how to design such a layput from interface builder.What i am planning is that :make two subviews in a single view

I am not getting how to design such a layput from interface builder.What i am planning is that :make two subviews in a single view In one view put uitable vie开发者_C百科w and in another view put from and to labels and corresponding dropdownlists

How to design a view consisting of a table row ,label and dropdownlist

i am not having any idea on how to do that.Can i do all above stuff in a single UItableView but how? Thanks


There is no drop downliss in iPhone, you will have to use UIPickerView class, called picker views, that use a spinning-wheel to show one or more sets of values.


You can't put it in a tableview. I also don't know what that stuff on bottom is, perhaps a tabbar? In that case you should use a tabbar with 5 segments. The dropdownlist could be a custom button, if you click on it, you get a new screen with a spinning wheel. If my guess on the arrow on the right is correct, clicking it should show you a table view. In that case I suggest to use the navigation bar. That way, a user can easily navigate back and forth. In the method viewWillAppear, you can use an update to properly show the information in the table.

0

精彩评论

暂无评论...
验证码 换一张
取 消