swiftui

Back Open Paginator
09.09.2025 09:38
ralfebert (@ralfebert@mastodon.social)

@natpanferova

.containerBackground(Color.clear, for: .navigation) is nice to get glass backgrounds in a nav stack in a sheet indeed.

Beware this transition glitch issue though if you have opaque views in the stack - workaround is to set a container background for them, too: swiftui-garden.com/Misc/iOS-26




Show Original Post


09.09.2025 09:26
natpanferova (@natpanferova@mastodon.social)

If we want to take advantage of the new iOS 26 Liquid Glass appearance for sheets that include forms or push views onto a navigation stack in SwiftUI, we have do some extra setup. I've just published a post showing how this can be done: nilcoalescing.com/blog/LiquidG




Show Original Post


09.09.2025 08:26
danielsaidi (@danielsaidi@mastodon.social)

I love how makes it easy to compose functionality like this, where I can just wrap another screen and add Premium-specific behavior to it. Here, the screen checks if Premium is active, else disables the screen, presents a premium modal, and only dismisses itself if the premium modal is dismissed without activating Premium.





Show Original Post


09.09.2025 08:17
danielsaidi (@danielsaidi@mastodon.social)

I love how makes it easy to compose functionality like this, where I can just wrap another screen from KeyboardKit Pro in the KeyboardKit app and add Premium-specific behavior to it. Here, the app-specific screen checks if Premium is active, else disables the screen and presents a premium modal that dismisses the original screen when the premium screen is dismissed.





Show Original Post


09.09.2025 00:47
nicoreese (@nicoreese@mastodon.social)

Seems like an oversight that using systemBackground for your LaunchScreen background does not adjust to the elevation, e.g. it should be black for fullscreen but gray for windows. You can see it going from black to the final color when it finishes launching.





Show Original Post


08.09.2025 23:44
ralfebert (@ralfebert@mastodon.social)

This is a tricky one:

I'm seeing a bug on iOS 26 where in a NavigationStack in a .sheet, after going back once, the transition from a view with opaque background -> glass background is broken. The old screen stops moving in the middle of the transition, stays for a little while, then disappears abruptly, as seen at the end of this video.

Anyone seen this too?
Any ideas for how I could work around this?

FB / example code here: swiftui-garden.com/Misc/iOS-26





Show Original Post


08.09.2025 22:56
azamsharp (@azamsharp@iosdev.space)

Why 90% of SwiftUI Apps Get Dependency Injection Wrong
azamsharp.com/2025/09/08/why-9

#iosdev #swiftui




Show Original Post


08.09.2025 20:37
mirsadra (@mirsadra@mastodon.social)

Hats off to the Apple design team! 🤯 The new Liquid Glass tab bar in iOS 26 is pure magic.

The way it shifts as you scroll is buttery smooth, and the translucent, glossy material lets the content beneath peek through perfectly. ✨

My simulation video doesn't do the real-life fluidity justice! This is next-level UI polish. 👏👏





Show Original Post


08.09.2025 20:33
MyLittleMetroid (@MyLittleMetroid@sfba.social)

I keep poking this box labeled #SwiftUI. Sometimes candy comes out, sometimes murder hornets.




Show Original Post


08.09.2025 17:58
nicoreese (@nicoreese@mastodon.social)

Any recommendations for current-gen iPhone screenshot mockups with hands?




Show Original Post


08.09.2025 16:23
ralfebert (@ralfebert@mastodon.social)

With so many little tweaks necessary, testing the iOS 26 update takes a lot more time than usual, having to carefully test everything four times (iOS 18, 26 × iPhone, iPad).

🤞 fingers crossed there's no change in the RC that breaks my particular set of workarounds artisanly piled on top of each other.




Show Original Post


08.09.2025 16:13
azamsharp (@azamsharp@iosdev.space)

Multi-Option List Sorting in SwiftUI

azamsharp.teachable.com/course

#iosdev #swiftui





Show Original Post


1 ...188 189 190 191 192 193 194 195 196 197 198 ...236
UP