阅读背景:

以编程方式在UITableViewCell中显示带有按钮的视图控制器(Swift)

来源:互联网 

I am trying to make it where when a user clicks on a table view cell in my table view it takes them to a new view controller. More specifically, when a user clicks on a persons username it should take them to that users profile. the username being the table view cell and the profile being the new view controller. I thought the way to do this was to use the ".presentViewController(vc, animated: true, completion: nil) however when i do this it says "myCell does not have a member named .presentViewController"I am trying to make it where when a user clicks




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: