简体   繁体   中英

Screen becoming black when moving from one tab bar to another

My Program has a tab bar view controller containing two tabs. each tab contains a table and when clicking on each cell, a new view is loaded. But when i go back to the main view after going into the cell, the screen becomes black. I can move to the other tab now but the same process repeats.Can someone please tell me why this is happening ??

Check your Tableviewcontroller is embed in NavigationController. Follow this tutorial http://www.appcoda.com/storyboard-tutorial-create-tab-bar-controller-and-web-view/

检查您的父视图是否正在从内存中卸载。

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