Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ナビゲーション コントローラーのルート ビューにテーブル ビューがあります。ナビゲーション バーを非表示にすると、テーブル ビューが一番上に移動しますが、その位置を古い位置に固定するか、最初から固定する必要があります...
フレームの作成と移動を試みましたが、目的は解決しません。
フレームで成功していないのは奇妙です...
このようにしましたか?
CGRect tableFrame = tableView.frame; tableFrame.origin.y = 40; tableView.frame = tableFrame;