hungwei0331
hungwei0331

Reputation: 33

After integrate SWRevealViewController, appear all black on the screen

As title, I had been integrate SWRevealViewController into the open source project as the link below

https://github.com/swiftcodex/Swift-Radio-Pro

and I had followed the step by step through the tutorial from appCoda

that teaches about SWRevealViewController

but it occur just black screen on simulator,

I had checked the step by step through tutorial and make sure i didn't miss anything,

and my source project download link as below:

https://dl.dropboxusercontent.com/u/27473655/Swift-Radio-Pro-master-test1.zip

I am wondering how to solve this problem or what did I miss

Thanks in advance for any reply

Upvotes: 1

Views: 544

Answers (1)

jiten
jiten

Reputation: 137

I have looked into your code StationsViewController viewDidLoad was not been called up due to wrong implementation in storyboard.

Open storyboard->Select reveal view controller scene(which is a root view controller)->Now in both this segue make green color view controller as identifier = sw_rear & class = SWRevealViewControllerSegueSetController. Also for another other segue identifier = sw_front & class = SWRevealViewControllerSegueSetController.

And now definitely it will work as i am able to get the radio list as home screen after i compile your code.

Edit: 29 Aug considering my above explanation i have added two screenshots of storyboard and inspector. Go through it and let me know still you have any queries.

enter image description here

enter image description here

Added two more images kindly have a look.

enter image description here

enter image description here

Upvotes: 1

Related Questions