SWRevealController include Log in page - Swift

早过忘川 提交于 2019-12-11 15:47:16

问题


I am unable to find a suitable solution to this issue in swift. I have implemented a SWRevealController slide out menu via Appcoda, in which the initial view controller must be an empty view controller. I am attempting to include a log in page, however if i make this the initial view controller, the slide out menu no longer works.

How do i implement the log in page whilst maintaining the functionality of the slide out menu?


回答1:


Drag and drop empty view controller in storyboard and set its class to

SWRevealController

Connections: 1.Control click from SWRevealController(New storyboard) to Menu select "reveal view controller set controller".

2.1.Control click from SWRevealController(New storyboard) to Default view controller(initial view controller) select "reveal view controller set controller".



来源:https://stackoverflow.com/questions/34782566/swrevealcontroller-include-log-in-page-swift

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!