This is exactly what I'm looking for, unfortunately it's only available on iOS 17. I need to support iOS 14 and later.
Post
Replies
Boosts
Views
Activity
I'm looking for changes in interface orientation, which is not the same as the device orientation. (e.g. if you have rotation lock enabled the device orientation can change without changing the interface orientation. There are also a few device orientations that do not affect the interface orientation even if it's unlocked, such as .faceUp and .faceDown.
I'm running the latest release version of macOS (macOS 11.4 (20F71). Unfortunately, I cannot install beta software on my machine as it's my daily workhorse. I haven't been able to reproduce it yet in a simple test case, I'll try making a test case that more closely resembles the code in our app to see if I can make a reproducer
So I added a the #pragma unroll(1), and that has made the issue worse, it crashes with anything above 1 pass through the loop. So I did the exact reverse and changed it to #pragma unroll (40) to force it to unroll the entire loop, and now it runs without crashing. It looks like somehow the loop makes it crash. I'm still unable to reproduce it in a minimal test case though, so I'm looking further into it. I'm also seeing slightly different results from the kernels running before this one when running on the discrete GPU, investigating that as well.