简体   繁体   中英

A normal view above tableview added from storyboard not visible in running iOS App

In designing a viewcontroller i've hidden the navigation bar for full app, and added a custom view in each viewcontroller above tableview looks like navigationbar. but it is not visible when running app. below are the screenshots of storyboard and running image. In full app i have used same approach working perfectly but not working in two viewcontrollers only. This problem arises when iOS 12 is introduced before that working perfect in iOS 10. currently using Xcode 9.2 for that project.

查看层次结构

故事板图片 正在运行的应用图片

Check your View Hierarchy in Storyboard where you placed objects (UITableView, UIView, UIButton ...). keep your View in bottom of all the view objects which you want to be on Top.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM