简体   繁体   中英

SWRevealController include Log in page - Swift

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?

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".

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