storybody中页面跳转

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{

    if ([segue.destinationViewController isKindOfClass:[OneVC class]]) {
OneVC *one = segue.destinationViewController;
one.oneStr = @"i`m one";
}
if([segue.destinationViewController isKindOfClass:[TwoVC class]]){ TwoVC *two = segue.destinationViewController;
two.twoStr = @"i`m two";
}
}
上一篇:深入理解Java内存模型(六)——final


下一篇:mysql 导入csv文件