UITableView and presentViewController takes 2 clicks to display

前端 未结 8 1600
独厮守ぢ
独厮守ぢ 2020-12-13 18:34

I am using a UITableView to present a variety of viewControllers. Depending on which index is clicked, it will present a different view controller, which can then be dismis

8条回答
  •  悲哀的现实
    2020-12-13 19:28

    In Swift and iOS9 it's:

    dispatch_async(dispatch_get_main_queue(), {
        self.performSegueWithIdentifier("OpenBookingDetail", sender: self)
    })
    

提交回复
热议问题