親子日記APP
|
免費申請
|
登入
mini box 迷你盒子
這裡是工程師的筆記資料.
部落格
相簿
APP日記
書籤
標籤:
iOS
的相關文章
瀏覽方式:
摘要列表
|
標題列表
|
全站 《iOS》 相關
swift3學習:圖片為顯示「圓形」或「圓角」
2017
02
16
19:23
大頭貼常會以「圓形」顯示或是圖片顯示時 希望四周爲「圓角」 Step 1: Clip To Bounds 打勾
Step 2: User Defined Runtime Attributes 中加入 layer.cornerRadius = 100 為什麼是 100 ?? 圖片的寬度 200 /2 = 100(半徑) — >如果要圖片四周是小圓角,將layer.cornerRadius設小一點的數字,例如20 至於另兩個 layer.borderWidth / layer.borderColor 這兩個是希望圖片有個圓形的框 但似乎無效 (還是有其它?!),暫時無解.. 顯示結果 layer.cornerR...
繼續閱讀»
分類:
Swift 學習筆記
/
留言(0)
swift3學習: ios app 實機測試 err: Could not locate device support files
2017
02
15
13:42
Xcode 7 起,可以直接將寫好的 App 馬上傳到 iPhone (iPad) 測試 (之前的版本需付開發帳號年費 $99 才能將寫好的 App 傳到實機測試 我的 Xcode 8 要傳到 iPhone 10.2.1 (14D27) 出現這個錯訊息 Could not locate device support files This iPhone 6 is running iOS 10.2.1 (14D27) , which may not be supported by this version of Xcode
解決辦法: 下載並安裝新版 Xcode (通常是 beta 版本) https://developer.apple.com/dow...
繼續閱讀»
分類:
Swift 學習筆記
/
留言(0)
上一頁
1
2
下一頁