swift jump page ways
来源:互联网 发布:淘宝开网店考试答案 编辑:程序博客网 时间:2024/06/05 19:33
1
var sb = UIStoryboard(name: “Main”, bundle:nil)
var vc = sb.instantiateViewControllerWithIdentifier(“ChooseViewController”) as ChooseViewController
self.presentViewController(vc, animated:true, completion:nil)
2
var vc = AnswerViewController()
self.presentViewController(vc, animated: true, completion: nil)
3
self.dismissViewControllerAnimated(true, completion:nil)
4 add Segue in storyboard
override func prepareForSegue(segue: UIStoryboardSegue!, sender: AnyObject!) {
var channelC:ChannelController=segue.destinationViewController as ChannelController
channelC.delegate=self
channelC.channelData=self.channelData
}
5
var webView=WebViewController()
webView.detailID=data.newsID
//取导航控制器,添加subView
self.navigationController.pushViewController(webView,animated:true)
6
func popViewControllerAnimated() -> UIViewController! 弹出最上面的视图,并返回下一个视图控制器
7.通过func popToViewController(animated:) -> AnyObject[]!返回到navigationController视图堆栈中指定的某一个视图
http://swiftist.org/topics/169
- swift jump page ways
- page jump
- Scheduler Jump to History Page
- Ways to Jump an IT Pay Grade
- Angularjs refresh but jump to the home page
- Swift学习笔记(Page.1)
- Jump
- Jump
- Jump
- jump
- Jump
- jump
- Jump
- Clicking button does not jump to a particular page in IE9
- swift UI专项训练29 Page Control页控件
- page
- page
- @Page
- C++静态库与动态库
- MDZZ
- 使用cocos2d-x c++ Android静态库
- qfs集群安装之二 chunk server安装
- Leetcode-95. Unique Binary Search Trees II
- swift jump page ways
- 【翻译】和麻美学姐一起的世界树(マミさんと世界樹スレ)第五话
- 【翻译】和麻美学姐一起的世界树(マミさんと世界樹スレ)第六话
- 【翻译】和麻美学姐一起的世界树(マミさんと世界樹スレ)第七话
- 文章标题
- 【翻译】和麻美学姐一起的世界树(マミさんと世界樹スレ)第八话前篇
- 【翻译】和麻美学姐一起的世界树(マミさんと世界樹スレ)第八话后篇
- 9-1
- 9-2