13 報

Share this post

開發者週報 #156 動態島 vs 靜態半島

www.ethanhuang13.com

開發者週報 #156 動態島 vs 靜態半島

Apple/iOS 開發者的一週大小事 2022/09/05-2022/09/11

13
Sep 11, 2022
5
Share this post

開發者週報 #156 動態島 vs 靜態半島

www.ethanhuang13.com

13的話

iOS 16 正式版會在台灣時間 9/13 推出。

但這次發表 iPhone 14 Pro 帶來的變化,應該會讓開發者忙上好一陣子,可能還得採購新手機來測試。

這期我貼了很多推文,有的截圖要點開才看得到,還請讀者自行動手了。

話說,以前有些人會用「蘋果💊」表達「蘋果要完蛋了」的玩笑。現在有了膠囊形狀的動態島以後,就是別的意思了吧😂

我想要累積到 100 位支持的讀者,目前的進度為 27%,請訂閱我的 Patreon!

看在我這麼認真整理開發者注意事項的份上,還請多多支持🙏

(看前一期 · 回首頁)


💊動態島

不知道你看發表會時有沒有注意到。我覺得動態島的各種動畫效果在 iOS 原生介面中很少看到,但以後可能會成為顯學。

為了這個原因,也許值得買台 iPhone 14 Pro Max 做研究!

我在幫大家找花錢的理由啦~

細節真的很多喔,底下不只是影子而是些微模糊。

Twitter avatar for @sdw
Sebastiaan de With @sdw
Fun iPhone 14 Pro design detail: the Dynamic Island UI pop-overs cast not just a shadow, but also a progressive blur effect on the background. Subtle and pretty. (Good luck accurately reproducing this in Sketch or Figma)
Image
Image
1:53 AM ∙ Sep 9, 2022
3,108Likes187Retweets

動態島會出現在截圖上,可能對於某些使用者會有困擾?(可能要點進去才看得到)

Twitter avatar for @ethanhuang13
13 @ethanhuang13
Apparently, screenshots from an iPhone 14 Pro(Max) will have the 💊.
Image
8:06 AM ∙ Sep 8, 2022
31Likes3Retweets

所以我提出了一個 side project 點子,給各位開發者參考😂

Twitter avatar for @ethanhuang13pro
13 Pro @ethanhuang13pro
💰iOS 開發者致富資訊:開發一個 app,用 machine learning 自動把動態島從手機截圖中抹除,或是換成使用者想放置的內容 錄 @weak_self 時想到的🤪🤪🤪
4:33 PM ∙ Sep 10, 2022

官網也惡搞了:

Twitter avatar for @ethanhuang13
13 @ethanhuang13
iP💊ne
Image
6:56 PM ∙ Sep 7, 2022
27Likes8Retweets

然後動態島的內部代號叫做 SystemAperture。

Twitter avatar for @unixzii
Cyandev @unixzii
It seems that "SystemAperture" is the internal name of #DynamicIsland
Image
3:00 PM ∙ Sep 8, 2022
13Likes1Retweet

📱發表會後的重要開發者資訊

  • 如果之前 navigation bar 放了超過範圍的東西,跟動態島擺在一起會感覺特別擠。最好確認一下既有 app 的版面設計

Twitter avatar for @shadesofanmol
Anmol Jain @shadesofanmol
@themikestern Dynamic island seems to sit a bit lower than notch from iPhone 13 Pro, can you share the navigation bar guidelines? When i tried to add 13 Pro screenshot in 14 pro bezel, navigation title was way too close to the dynamic island
Image
Image
8:43 PM ∙ Sep 7, 2022
  • iPhone 14 Pro 跟 14 Pro Max 不只是有動態島。由於邊框比較細,它們的解析度跟其他相同螢幕尺寸的機種是不同的

Twitter avatar for @ethanhuang13pro
13 Pro @ethanhuang13pro
💊iOS 開發者與設計師請注意:iPhone 14 Pro(Max) 邊框較窄,螢幕有比其他「同尺寸」iPhone 14 或前代 Pro 還更大一點、PPI 也不完全相同。具體數字請見官網或下方截圖 #請轉推 apple.com/tw/iphone/comp…
Image
Image
6:17 PM ∙ Sep 8, 2022
23Likes13Retweets
  • 而為了支援這兩台新的機種,就需要用 Xcode 14 打包並發布一版新的 app。要不然的話,畫面會被微微地放大,有比較高的 navigation bar(我本來還在猜會不會把邊框加粗😅)

Twitter avatar for @geoffhackworth
Geoff Hackworth @geoffhackworth
The iPhone 13 Pro Max screen is 428×926pt. The 14 Pro Max is slightly larger at 430×932pt. An Xcode 13 build run on the 14 Pro Max has the 13 Pro Max screen size scaled to fill but with a taller status bar and navigation bar. Building with Xcode 14 opts an app in to the true size
Comparison of iPhone 13 Pro Max screen size and layout margins with iPhone 14 Pro Max running either an Xcode 13 or Xcode 14 build of Adaptivity app.
10:33 AM ∙ Sep 9, 2022
13Likes2Retweets
  • Apple Watch Ultra 也是類似概念

  • 支援動態島顯示功能的 API 就是 Live Activities,在 ActivityKit 裡。之後才會推出

Twitter avatar for @settern
Serenity Caldwell @settern
@marcoarment It's part of Live Activities and ActivityKit — not available in the RC, but will be coming to iOS 16 & Xcode later this year! developer.apple.com/news/?id=hi37a…
8:53 PM ∙ Sep 7, 2022
196Likes45Retweets
  • 如果 app 想要支援全螢幕,但是不想被瀏海或動態島擋住,可以利用這個 API

Twitter avatar for @smileyborg
Tyler Fox @smileyborg
🆕 Does your app display full-screen media content? There's a specialized new UIKit API in iOS 16 that will help you display content as large as possible within the safe area of any device, including iPhone 14 Pro: UIWindow.safeAreaAspectFitLayoutGuide developer.apple.com/documentation/…
developer.apple.comApple Developer Documentation
9:22 PM ∙ Sep 7, 2022
195Likes54Retweets
  • 支援 iPhone 14 Pro 的 Always-On Display,可以用 isLuminanceReduced 這個 API 進行判斷。之前只有支援 watchOS

  • Apple 有提供新產品的設計素材

  • 車禍偵測的事件有 API 開放給第三方開發者喔──SafetyKit

🧪Apple Releases

  • Xcode 14 RC (14A309) 需要 macOS 12.5 以上。而且這版沒有 iPadOS 16 或 macOS 13 Ventura 的 SDK,要去用之前的 Beta 版。

  • iOS 16 RC (20A362) 請注意不包含 iPadOS。iPadOS 還在 Beta 7。這對於要同時支援 iOS 與 iPadOS 16 的開發者,應該會很困擾吧

  • tvOS 16 RC (20J373)

  • watchOS 9 RC (20R361)

  • macOS 13 Ventura Beta 7 (22A5342f) 這邊也還在 Beta。與 iPadOS 同理,最新的 Xcode 14 RC 也不支援

🥚發表會彩蛋

從 Infinite Loop 到 Milky Way

Twitter avatar for @BasicAppleGuy
Basic Apple Guy @BasicAppleGuy
Oh good… she made it to Milky Way Rd. #AppleEvent
Image
Image
5:46 PM ∙ Sep 7, 2022
150Likes9Retweets

場景佈置

Twitter avatar for @BasicAppleGuy
Basic Apple Guy @BasicAppleGuy
The stages Apple builds are breaking my brain… 🤯 #AppleEvent
Image
5:47 PM ∙ Sep 7, 2022
310Likes28Retweets

Apple Watch Ultra 廣告上的字樣

Twitter avatar for @BasicAppleGuy
Basic Apple Guy @BasicAppleGuy
The quote during the intro video for the Apple Watch Ultra came from the apocryphal ad Ernest Shackleton placed for the Antarctic Endurance expedition. #AppleEvent smithsonianmag.com/smart-news/sha…
Image
12:29 AM ∙ Sep 8, 2022
196Likes18Retweets

Apple TV+ 強檔:人生切割術(我因為這個彩蛋開始看這齣劇了😂)

Twitter avatar for @BasicAppleGuy
Basic Apple Guy @BasicAppleGuy
Severance Easter egg at the far end of the Far Out #AppleEvent
Helly (from Severance) stands in front of a Subway car and appears to vanish out of view for a moment before reappearing. Featured at the end of the Apple Event.
10:45 PM ∙ Sep 7, 2022
295Likes30Retweets

iPhone 14 廣告拍攝幕後花絮

Twitter avatar for @TheAppleDesign
TheAppleDesign #iPhone14 @TheAppleDesign
For the first time ever, Apple revealed how the iPhone ad was shot 🤯🤯🤯 This is how #Apple shot the #iPhone14 ad
3:04 PM ∙ Sep 9, 2022
17,014Likes2,682Retweets

🤪Random Tweets

Best in…

Twitter avatar for @jckarter
Joe Groff @jckarter
always "best in class"🙄 what about "best in struct"
6:34 PM ∙ Sep 7, 2022
605Likes51Retweets
Twitter avatar for @BigZaphod
Sean Heber @BigZaphod
@jckarter Cinematic mode is “best in actor.”
6:35 PM ∙ Sep 7, 2022
Twitter avatar for @stephentyrone
Steve Canon @stephentyrone
@jckarter Absolutely nobody: "what about best in enum?"
6:40 PM ∙ Sep 7, 2022

你知道 macOS 的「系統偏好設定」可以把個別設定隱藏起來嗎?

Twitter avatar for @jorisw
Joris Witteman @jorisw
Apparently you can alphabetically organise your System Preferences and also pick which control panels even show. (Say good-bye to this as of macOS Ventura, though)
Image
8:11 PM ∙ Sep 5, 2022
6Likes1Retweet

跟動態島相關的梗還會少嗎~

Twitter avatar for @carlosvijande
Carlos Vijande @carlosvijande
@marcoarment Introducing, notchifications.
6:12 PM ∙ Sep 7, 2022
309Likes53Retweets
Twitter avatar for @olebegemann
Ole Begemann @olebegemann
Who called it actor and not a Dynamic Island in the sea of concurrency? #AppleEvent
7:26 PM ∙ Sep 7, 2022
37Likes5Retweets
Twitter avatar for @chriseidhof
Chris @chriseidhof
Can’t wait for the Swift compiler engineers to turn this into a static island made just for compiler engineers. They took ObjC, they took UIKit and they will take the dynamic island!
5:31 AM ∙ Sep 8, 2022
45Likes1Retweet
Twitter avatar for @agiletortoise
Greg Pierce @agiletortoise
From now on I’m referring to the notch as the “static peninsula”
1:14 PM ∙ Sep 8, 2022
536Likes97Retweets
Twitter avatar for @Vindeng
뎅 @Vindeng
아이폰14 ㅈㄴ안땡겼거등?? 근데 이거 보고 뽐뿌옴 ㅆㅂ
Image
Image
4:43 AM ∙ Sep 9, 2022
13,315Likes18,602Retweets
Twitter avatar for @BasicAppleGuy
Basic Apple Guy @BasicAppleGuy
BREAKING: Apple introduces new M2 MacBook Pro with the Dynamic Island! #AppleEvent
Image
2:05 PM ∙ Sep 8, 2022
2,613Likes129Retweets

其他

Twitter avatar for @koikingtw
Carter @koikingtw
感覺應該有輕小說的劇情是: 工程師意外獲得能夠使用Git操作人生的能力,在每個需要做決定的地方開branch,同時可以做其他操作回master 主要時間軸
5:10 AM ∙ Sep 8, 2022
225Likes25Retweets

💼職缺/履歷交流區

如果你有 iOS 相關職缺或是求職履歷想要刊登在開發者週報,請見關於。


🙏支持 13 寫作,請訂閱我的 Patreon(我的目標是累積到 100 位支持者,目前進度 27%)、按喜歡❤️、留言💬、回信✉️與我交流。

Share this post

開發者週報 #156 動態島 vs 靜態半島

www.ethanhuang13.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 ethanhuang13
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing