开发者社区 问答 正文

IOS的storyboard间切换时传递参数如何实现

IOS的storyboard间切换时传递参数如何实现
第一个 storybord 内:
UIStoryboard *storyboard=[UIStoryboard storyboardWithName:@"Price" bundle:nil]; id viewController = [storyboard instantiateViewControllerWithIdentifier:@"Detail"]; [self.navigationController pushViewController:viewControlle

展开
收起
杨冬芳 2016-07-01 14:37:45 2075 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    自定义初始化方法 -(id)initWithViewControllerType:(ViewControllerType)_type andCityName:(NSArray)_cityName andCityCode:(NSArray)_cityCode;

    2019-07-17 19:50:01
    赞同 展开评论
问答分类:
问答地址: