goTOP
November 22, 2014

Xcode6 StoryBoard的使用法 畫面移動 轉場效果

| |
手機相關 » Xcode | 閱覽(6777) | Posted by apao at 16:41
Language:Swift

Step01 View Controller 上 加 Button

View Controller Scene
>至 Lab中拉出>Button
>放至 View Controller 中


點擊在新視窗中瀏覽此圖片


>模擬器中測試
>按 Command+R
>成功的話如以下畫面


點擊在新視窗中瀏覽此圖片


Step02 加上Navigation Controller

>至 Lab中拉出
>Navigation Controller
>如以下畫面


點擊在新視窗中瀏覽此圖片

>滑鼠左健按按鈕+Ctrl
>拉線至Navigation Controller
>按下modal


點擊在新視窗中瀏覽此圖片

>模擬器中測試
>按 Command+R
>成功的話如以下畫面


點擊在新視窗中瀏覽此圖片

Step03 加入UIView Controller

>刪除Navigation Controller
>加入View Controller
>按左健連接新的View Controller


點擊在新視窗中瀏覽此圖片

>Seque: Modal
>Transition的效果還有
>Cover Vertical
>Flip Horizontal
>Cross Dissolve
>Partial Curl


點擊在新視窗中瀏覽此圖片 畫面移動的ICON

點擊在新視窗中瀏覽此圖片

點擊在新視窗中瀏覽此圖片
Facebook twitter LINEk
文章来自: 本站原創
0 Comment(s)
我要發表評論
暱稱
密碼 [ 訪客無需密碼 ]
電郵
網址
開啟HTML 開啟UBB 開啟表情 隱藏 記住我