Lmssync's profile picture. UIKit SwiftUI  Exploring Internals

ビスター(Vistar)

@Lmssync

UIKit SwiftUI Exploring Internals

Apps in categories like health, fitness, AI assistants, outdoor, and productivity—not just emergency support or messaging—will be able to support hygiene data communication starting with iOS 26 by adding a new entitlement. This is a major step forward! developer.apple.com/documentation/…


If you don’t mind using Private API, set "showsMenuFromSource" to true via KVC on UIButton. 👈 false (default)  true 👉

Hey @SebJVidal , was having a hard time recreating this effect in UIKit, when setting a menu and showsMenuAsPrimaryAction to a UIButton the button morphs into the menu, and I couldn't find any API to disable that. Can you help?



Noticed that "_CircleLayout", present since the early SwiftUI days, is gone 🤔 Seems it disappeared around iOS 17 (still there in iOS 16).

Lmssync's tweet image. Noticed that "_CircleLayout", present since the early SwiftUI days, is gone 🤔
Seems it disappeared around iOS 17 (still there in iOS 16).

On iOS 26, UISheetPresentationController applies "Solarium Insets", which adjust insets based on the device’s corner radius when using lower detents. (This behavior can be disabled via an internal property.)

Lmssync's tweet image. On iOS 26, UISheetPresentationController applies "Solarium Insets", which adjust insets based on the device’s corner radius when using lower detents. (This behavior can be disabled via an internal property.)
Lmssync's tweet image. On iOS 26, UISheetPresentationController applies "Solarium Insets", which adjust insets based on the device’s corner radius when using lower detents. (This behavior can be disabled via an internal property.)
Lmssync's tweet image. On iOS 26, UISheetPresentationController applies "Solarium Insets", which adjust insets based on the device’s corner radius when using lower detents. (This behavior can be disabled via an internal property.)
Lmssync's tweet image. On iOS 26, UISheetPresentationController applies "Solarium Insets", which adjust insets based on the device’s corner radius when using lower detents. (This behavior can be disabled via an internal property.)

Does this only happen in Xcode 26.1 beta 1? The default top inset created by SwiftUI’s List seems much larger than usual. It can be fixed with .contentMargins(), but I’m not sure if this issue is specific to 26.1.

Lmssync's tweet image. Does this only happen in Xcode 26.1 beta 1?
The default top inset created by SwiftUI’s List seems much larger than usual.
It can be fixed with .contentMargins(), but I’m not sure if this issue is specific to 26.1.

This is probably something Apple added under EU pressure, not out of kindness…

Looks like we've got a new framework.

ios_dev_alb's tweet image. Looks like we've got a new framework.


I find it interesting that the Sora 2 iOS app uses SwiftUI in many parts, while probably also relying on some Private APIs...


なぜShortcutsのSheetはUISheetPCではなく昔から独自実装(WFSheetView)なのか🤔

Lmssync's tweet image. なぜShortcutsのSheetはUISheetPCではなく昔から独自実装(WFSheetView)なのか🤔

United States Trends

Loading...

Something went wrong.


Something went wrong.