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
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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Click noise when AUAudioUnit.startHardware()
No, I changed from turning it off when the user is inactive to only turning it off when the app goes to background. That way there are a lot fewer clicks. But it is still clicking. Could not find out why it was clicking. Had to give up. It's on the App store now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
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).
Replies
Boosts
Views
Activity
Nov ’21
Comment on App Store sandbox, "Clear purchase history" does not work.
Thanks for your generous answer. I am however not using the receipt. The SKPaymentTransactionObserver could provide the info we need, but it seems it is not.
Replies
Boosts
Views
Activity
Nov ’21
Comment on SwiftUI slider step broken since iOS 15
Bug reported FB9717666.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’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:
Replies
Boosts
Views
Activity
Oct ’21
Comment on iOS 15 broke UIViewRepresentable. updateUIView is called before bounds are updated.
I am sorry, I did not mean to post an answer. I clicked Add a Comment, was asked to sign in and then presented with a text field. That text field posted an answer instead of a comment. And I cannot delete the answer.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21