Unwind Segue in Xcode 6.1.1 with storyboard

前端 未结 4 2089
广开言路
广开言路 2021-02-20 13:26

I have been reading that unwind segue\'s are bugged in Xcode 6. I am using Xcode 6.1.1 and I use swift.

I use the \"Back\" button that is put by the navigation controlle

4条回答
  •  眼角桃花
    2021-02-20 14:12

    I found that I could not drag from the UITableViewCell to the Exit object on the View Controller on the Storyboard.

    Solution was to first add an appropriate IBAction in code. Once an IBAction exists, the drag target will light up.

    -(IBAction)prepareForUnwind:(UIStoryboardSegue *)segue {
    
    }
    

提交回复
热议问题