Post

Replies

Boosts

Views

Activity

Reply to iOS In-App Purchase works in sandbox but invalid in production
Hi, Apple Dev Support never got back to us. Hence, as a workaround, we simply created a new in-app purchase which is identical to the broken IAP except it has a new product identifier of course. The app still handles the old IAP in the receipt (for users who bought it in the past) but when the user taps the purchase button the app purchases the new IAP.
Jul ’21
Reply to iOS 14 .onAppear() is called on DISappear instead of appear
I have the same issue like the OP, and it still exists in iOS 16 beta 2, whether I use NavigationSplitView or NavigationView with column-style. Are there no other view modifiers that are called? I have a singleton audio engine in the app, and the detail view initializes itself on the engine at .onAppear. Can't have a new audio engine for each detail view, especially if the previous detail view is not discarded.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’22
Reply to Its time for SwiftUI on the web! (WASM, WEBGL)
I'm a freelancer in iOS development but every now and then I get a request to make small websites for distant relatives or friends or acquaintances of them. I don't like those heavy weight websites that take ages to load (hello WIX) with tons of js and those damned cookies. On the other hand I don't like to make static websites myself in html like in the 90s which look super sparse (though they load very fast). What I would really like is to make use of my Swift/SwiftUI knowledge in web. Been thinking about some minimal framework or some kind of method to do that. Found some toy projects but I don't want to bring the iOS L&F to the web, I want websites to look like websites but made with SwiftUI. No more CSS and HTML. Compiling SwiftUI to html is the first naive idea that comes to mind. But I lack the broad knowledge of web technologies out there so I find myself unable to devise anything that could nearly rival other sophisticated frameworks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24