対象:
Swift

ウィンドウの階層構造を3D表示する(Swift)

Xcodeのコンソールに以下のような警告が表示されることがある。

2016-11-11 10:16:47.915348 SwiftCamera[711:1049900] Warning: Attempt to present  on  whose view is not in the window hierarchy!

そんな時はメニューでDebug > View Debugging > Capture View Hierarchyと選択し、ウィンドウの階層構造を表示してみよう。View等の重なりが3Dで確認できる。


(2016/11/11)

新着情報
【オープンソースソフトウェア環境構築】Apple silicon Macで開発環境を構築
【Rust Tips】Actix webでJSONをPOSTする
【Rust Tips】コマンドライン引数を取得する

Copyright© 2004-2019 モバイル開発系(K) All rights reserved.
[Home]