I have a static tableview controller in storyboard representing a long form. I want to see the different localizations of the scene in storyboard preview , but I am not able to see the cells whose position exceeds the bounds of the actually chosen iPhone screen.
How do I make the tableview scroll in the preview window?
This question also applies to scrollviews.
(I have found similar questions, like How to scroll storyboard preview? or How to scroll UITableView in Storyboard editor of Xcode 5? , but none of them matches my specific question. There is one question that might match mine, but it's too vague to know for sure, and has no answers yet: xcode7 swift storyboard preview not able to scroll .)
Controls that scroll must be in focus in IB before they will scroll. Click on the UITableView
or UIScrollView
and then scroll as you usually would.
Also, you can set the view controller's size to Freeform
instead of Inferred
and resize in IB so that everything is viewable.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.