ios 使用segue跳转页面
2017-03-16 本文已影响0人
mengyingguo
在要返回的页面添加转场方法,例如:
@IBAction func close(segue:UIStoryboardSegue) {
let review = segue.source as!ReViewController
if let rat = review.rat {
self.ratingBtn.image = UIImage(named: rat)
}
}
在要返回的页面添加转场方法,例如:
@IBAction func close(segue:UIStoryboardSegue) {
let review = segue.source as!ReViewController
if let rat = review.rat {
self.ratingBtn.image = UIImage(named: rat)
}
}