簡體   English   中英

如何在iphone視圖中放入滾動條?

[英]How can I put scroll in my iphone view?

在我的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)

有字段,我可以做,但是沒有更多空間供我使用:-(

使用UIScrollView。 但是你已經知道了。 閱讀這篇文章學習UIScrollView的基礎知識

另外,如果您的數據代表邏輯組或邏輯組,並且可以在TableView上以單元格/行的形式顯示,則還可以瀏覽UITableView。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM