(String to String Array)
如果取得一個文字參數想將參數轉換成String陣列
可以透過下列方式去轉換
透過 Open API 實作 空氣品質觀測 App
大家現在都對空氣品質很要求,因為空氣對我們來說太重要了,以前不懂的時候都以為天空霧矇矇的很美,但是其實那是空氣污染,吸多了可是對身體非常不好呢.
因為之前有寫過 簡單的 Android 版本,想說把原本的 Android 原封不動的搬來 iOS,所以今天就來教大家自己動手透過政府的 opendata api 來製作屬於自己的空氣品質觀測 App
(uiViewcontroller,modalTransitionStyle, modalPresentationStyle,全螢幕顯示下一頁, 遮屏畫面)
一般在iPhone中常見提示訊息透過UIAlertController顯示
但如果想製作像Android中的DialogFragment的畫面
(UIButton, Tag)
如果畫面中有許多按鈕,除了個別拉IBAction設定動作外
These were the top 10 stories published by 彼得潘的 Swift iOS / Flutter App 開發教室 in December of 2018. You can also dive into daily archives for December of 2018 by using the calendar at the top of this page.