【问题标题】:How can I put scroll in my iphone view?如何在我的 iphone 视图中放置滚动条?
【发布时间】:2011-07-08 17:29:43
【问题描述】:

在我的viewDidLoad中,数据太多了, 那么我应该怎么做才能使用它们, 某种滚动,但是如何编码呢?​​

Picture (you cannot go to the next step if you do not input a picture. Existing or snap a new one)
Name
Age
Gender
Profession
Hobby
Things I like
Things I dislike
Business Address/Home Address (you choose one first and then you can type in the field)
Email Address
Other (this field does not have to match to others for a connection to be made)
Phone number (Automatically it will show the persons phone number)

有字段,我可以制作它们,但没有更多空间给我:-(

【问题讨论】:

    标签: iphone uiscrollview


    【解决方案1】:

    使用 UIScrollView。但你已经知道我猜了。阅读本文Learning the basics of UIScrollView

    或者,如果您的数据表示可以在 TableView 上显示为单元格/行的逻辑组或集合,您也可以探索 UITableView。

    【讨论】:

    • 数据不代表逻辑组,但是我试过UIScrollView,但是看不到进度,
    • 你读过我指给你看的帖子吗?它很好地涵盖了它。你有什么问题?您的应用是否存在设计问题?
    • 当我的数据不是很大时我可以滚动吗?
    • 你可以在任何地方拥有一个滚动视图。但是常识告诉你,只有当你呈现的数据不可能出现在给定的屏幕空间中时,才应该使用滚动。相应地选择。
    • 好吧,亲爱的,它正在工作,但它仍然是从第二页开始,水平地,我不知道为什么会这样...... :-(
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-07-04
    • 2017-02-23
    • 2015-03-18
    • 1970-01-01
    • 2011-07-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多