问题。控制器跳转
自動型:action
不需要判斷,直接拖線push到目標控制器。
手動型:manual
需要判斷,點擊之后執行跳轉。將來源控制器push到目標控制器。設置identifer。
在來源控制器中 ?[self performSegueWithIdentifier:@"LoginToSignup" sender:nil];
/*
?只要執行[self performSegueWithIdentifier:@"LoginToSignup" sender:nil];
?系統就會自動做跳轉前數據傳遞 方法
*/
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
?? ?
?? ?
}
?
?
?
?
轉載于:https://www.cnblogs.com/qq907374866/p/4337026.html
總結
- 上一篇: 《Objective-c》-(descr
- 下一篇: 动态规划学习笔记