implement login screen before swrevealcontroller

前端 未结 2 755
谎友^
谎友^ 2021-02-06 13:46

I\'ve just started learning IOS development, I\'ve successfully implemented the SWRevealViewController by following a given tutorial online all is working as expected.

I

2条回答
  •  醉梦人生
    2021-02-06 14:13

    Step-1

    embed your login VC to NavigationController.

    Step-2

    on your login button action set the segue type as Modal and call as

     @IBAction func btnLogin(sender: AnyObject) {
    
        self.performSegueWithIdentifier("openSWL", sender: self)
      }
    

    For flow understand purpose

    For sample Project you can download here

提交回复
热议问题