[英]How to use dynamic height of UITableViewCell in auto-layout and move other views to up when bottom view is hidden?
[英]Any other method to resize views, other than Auto-layout
我正在構建一個專門用於iPhone的應用程序,並且它只有縱向視圖。 我以前從未使用過自動布局,並且我認為現在沒有時間學習它。 我可以使用其他任何東西來調整設備的視圖大小(iphone 4s,5 / 5s,6/6 +)嗎?
刪除自動布局和大小類
並使用自動調整大小的表單實用程序
您也可以通過代碼進行操作:
view.autoresizingMask = (UIViewAutoresizingFlexibleWidth |
UIViewAutoresizingFlexibleLeftMargin);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.