首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
performseguewithidentifier专题
IOS学习之storyBoard的应用,使用performSegueWithIdentifier來切換ViewController
1.代码实现segue,在使用performSegueWithIdentifier(sender)方法的时候,sender可以设置为我们想传的任意对象,在prepareForSegue(sender)方法中将sender传到想传到的view controller。 此时我们就将sender设置为checklist然后传到ChecklistViewController中。 2.若在S
阅读更多...