简体   繁体   中英

Added more than 20 tableviewcells but after that not able to scroll tableview to see all cells in jonkykong/SideMenu iOS demo application

Implementing side menu in iOS application using jonkykong/SideMenu library. When i am trying to add more than 20 cells in tableview, after that we cant scroll tableview up.

Check source code: https://github.com/jonkykong/SideMenu

Expected result: We can scroll tableview up if more cells are there. 在此处输入图片说明

If you are facing this issue on storyboard then increase the height of UIViewController using the following steps:

Click on UIViewController -> Select the size inspector -> Select simulated Size as Freeform -> increase height value.

在此处输入图片说明

ByDefautl table scrolling was disabled. Enable table scrolling.

self.tableView.isScrollEnabled = true

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