ビスター(Vistar)

1,255 posts
Opens profile photo
ビスター(Vistar)
@Lmssync
UIKit SwiftUI Exploring Internals

ビスター(Vistar)’s posts

Apple’s first-party apps use the “SystemChromeBackground” style for onboarding screens, but this style is not publicly available. However, it has been discovered that its raw value is 1100, making it accessible through the following extension:
Image
Image
Apple Musicのプレイヤーのように ・下層ビューの沈み込み効果 ・FullScreen状態からのスワイプDismiss を実現するPrivate API _wantsFullScreen = true _allowsInteractiveDismissWhenFullScreen = true
The media could not be played.
UIKit's ZoomTransition is incredibly smooth and comfortable to use. When I was using ZoomTransition with SwiftUI List, it was full of lag and provided the worst user experience... Maybe it's time to go back to UIKit.
The media could not be played.
SwiftUIで再現してみた VariableBlur+透明度変化 ちなみにVariableBlurはUIBlurEffectの非公開メソッド
Image
Quote
ビスター(Vistar)
@Lmssync
Pages
iOS18でドキュメントベースのTab Barは可変ブラースタイルに変更されているのも、標準化されるのかな... x.com/usagimaruma/st…
Here’s a native API that powers auto-scrolling **Marquee Labels** — the same effect used in Apple Music’s Now Playing screen. Sadly, it’s a private API, but I’ve attached sample code snippets for both UIKit and SwiftUI👇
The media could not be played.
sheetやfullScreenCoverのViewに.navigationTransition(.zoom)を付与するだけで、中央が消失点になるアニメーションが適用される ドキュメントにも書いてない挙動だけど、ChatGPTアプリの画像Viewerは多分これ
The media could not be played.
SwiftUIでTextを"+"で複数連結させる構成は、ローカライズが困難になるため 非推奨になりました Text concatenation using the + operator is deprecated because it makes it hard to create localized strings that are correct across all languages.
Hidden gem in SwiftUI 💎 _backdropEffect is a fantastic private SwiftUI API that applies blur/saturation behind your content. It really should be public! 👈 blur+saturation blur👉
The media could not be played.
The media could not be played.
メッセージにリアクションボタンを置くUIをAppleはUIContextMenuAccessoryViewというAPIを使用しているが、これはプライベートAPIなので各社ContextMenuごと独自実装してるの可哀想😢 👇①iMessage、②X、③Instagram
Image
Image
Image
デザインラボにて(その2) Q: AndroidやWebとの一貫性が必要でも、Liquid Glassなどのネイティブコントロールを使うにはデザイナーをどう説得すべき? 👇(1/3)
Apple純正アプリのUI解剖(HIGと独自デザイン・Private API) という記事で長編書ける程知見が溜まってきたが書く時間がない
WWDC25で個人的に発表を期待するものリスト 🟦青文字の"公開"のものは既に実装はされているが、Public化されていないもの
まさしくこれですねUIDesignRequiresCompatibility 過去デザインの使用は一時的にするように書かれていますが... developer.apple.com/documentation/
Quote
崎山圭@iOSアプリエンジニアで工学博士で専門学校の講師
@sakiyamaK
あーでもたぶんinfo.plistにデザインタイプとかの項目が増えて、半透明デザインかレガシーデザインか選べるとか増えそうな気がする