Download - Apple TV Development 101
![Page 2: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/2.jpg)
Apple TV http://MobileDev.TW
HELLO TV!� Lab1�
2
![Page 3: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/3.jpg)
Apple TV http://MobileDev.TW
tvOS -> App -> Single View�
3
![Page 4: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/4.jpg)
Apple TV http://MobileDev.TW
加入Button與Label在畫面中�
4
![Page 5: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/5.jpg)
Apple TV http://MobileDev.TW
建立關聯性�
5
![Page 6: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/6.jpg)
Apple TV http://MobileDev.TW
按下按鈕顯示文字�
6
![Page 7: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/7.jpg)
Apple TV http://MobileDev.TW
執行程式�
7
![Page 8: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/8.jpg)
Apple TV http://MobileDev.TW
猜猜看� Lab2�
8
![Page 9: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/9.jpg)
Apple TV http://MobileDev.TW
大區塊按鈕選項�
9
![Page 10: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/10.jpg)
Apple TV http://MobileDev.TW
畫面上佈局1個Label、4個Button�
10
![Page 11: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/11.jpg)
Apple TV http://MobileDev.TW
將四個按鈕都拉Action至同一個方法�
11
![Page 12: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/12.jpg)
Apple TV http://MobileDev.TW
撰寫一個方法來處理跳出訊息�
12
![Page 13: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/13.jpg)
Apple TV http://MobileDev.TW
決定選項與對應回饋�
13
![Page 14: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/14.jpg)
Apple TV http://MobileDev.TW
香蕉、番茄與芭樂� Lab3�
14
![Page 15: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/15.jpg)
Apple TV http://MobileDev.TW
側邊選單與內容對應顯示�
15
![Page 16: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/16.jpg)
Apple TV http://MobileDev.TW
Table View 與 Image View�
16
![Page 17: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/17.jpg)
Apple TV http://MobileDev.TW
關聯性、協定、資料�
17
![Page 18: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/18.jpg)
Apple TV http://MobileDev.TW
必要實作方法�
18
![Page 19: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/19.jpg)
Apple TV http://MobileDev.TW
決定文字顯示內容�
19
![Page 20: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/20.jpg)
Apple TV http://MobileDev.TW
當滑到該選項時,對應顯示圖片�
20
![Page 21: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/21.jpg)
Apple TV http://MobileDev.TW
記得指定協定實作�
21
![Page 22: Apple TV Development 101](https://reader031.vdocuments.pub/reader031/viewer/2022022203/587755c01a28ab84388b7353/html5/thumbnails/22.jpg)
Apple TV http://MobileDev.TW
Lab:天氣顯示� • 請利用前面的例子,結合天氣資料,顯示台灣各大
城市天氣資訊�
• TableView�
• 取得地理位置�
• OpenWeatherMap�
22