透明なNavigationBarをViewにかさねて表示
1521 ワード
NavigationBarとかさねて表示したいViewのTopSpaceのConstraintをsafeAreaではなくsuperViewとの関係で0に設定して、
navigationController?.navigationBar.setBackgroundImage(UIImage(), for: .default)
navigationController?.navigationBar.shadowImage = UIImage()
navigationController?.navigationBar.isTranslucent = true
🐣
フリーランスエンジニアです。
お仕事のご相談こちらまで
[email protected]
Core MLを使ったアプリを作っています。
機械学習関連の情報を発信しています。
Author And Source
この問題について(透明なNavigationBarをViewにかさねて表示), 我々は、より多くの情報をここで見つけました https://qiita.com/john-rocky/items/6968a13c2d1403cfee60著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .