How to add UIView over navigation bar?

前端 未结 5 439
没有蜡笔的小新
没有蜡笔的小新 2021-02-02 15:38

I need overlay UINavigationBar with UIView like here

\"http://screencast.com/t/ZKXNFcAzVu

5条回答
  •  一整个雨季
    2021-02-02 15:45

    I hide NavigationBar and added UIView instead. It looks the same as Navbar. then add more one UIView with red bookmark. Beside it give possibility to animate bookmark on touch separately.

    If I added bookmark this way: [navigationBar addSubview:myRibbon]; it was hidden on half of size

提交回复
热议问题