Swift3 從入門到精通Day28:電子書

Alice
Alice
Jul 28, 2017 · 2 min read

日期:7/28(五)

作品:電子書

心得:效果超棒的,不過感覺比較適合拿來當繪本!

先把Page View Controller放到畫面上

在ID命名pageViewController

然後放一個View Controller

命名mainContentViewController

然後放一個Image View到View Controller上然後設定auto layout後選擇aspect fit
用cocoa touch class選擇UI View Controller的子類別 命名為ContentViewController.swift
畫面跟程式碼做連結
ViewController.swift程式碼
ContentViewController程式碼

Alice

Written by

Alice

Swift addict, Taipei|wl02722691@gmail.com

Daily Swift

Hi, I’m Alice. :-]

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade