Post

Replies

Boosts

Views

Activity

Comment on iOS 15 broke UIViewRepresentable. updateUIView is called before bounds are updated.
This is the answer I got in the feedback assistant: Engineering has provided the following information regarding this issue: updateUIView is not necessarily called on bounds change. You should override layoutSubviews in your hosted view. I have moved away from iOS and am C++ in Visual studio now, different computer, so I do not have the solution easily available.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
Comment on iOS 15 broke UIViewRepresentable. updateUIView is called before bounds are updated.
Thanks. I got an answer to my bug report where they told me the right way to do this. I do not remember exactly what the command was that they told me to use, but I think I remember it solving the problem. I am no longer ashamed of the orientation changes, so it must have worked. I think the command had "subview" in it, maybe layoutSubview or something.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Comment on App Store sandbox, "Clear purchase history" does not work.
Here's how one would expect SKPaymentTransactionObserver to work: 1.0) Observe restore only for items that are not expired or refunded (like the StoreKit config file does). 2.0) There is already a date sent to the observer. Why not make it a useful date, like subscription expiry date? 2.1) Observe purchase only once per payment or renewal (not important if we get the useful date).
Nov ’21
Comment on SwiftUI slider step broken since iOS 15
You have confirmed the difference. I have seen the difference. There is a bug in iOS 15. Will it really help if I post more code? I have not yet filed a bug report for this. I have filed a bug report for another iOS 15 bug that is more severe: FB9669244. I was baffled that there was nothing on the internet about this slider bug so I wanted to post here first. The feedback assistant is a little black holeish. Thank you very much for taking the time to confirm this iOS 15 bug.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’21