Post

Replies

Boosts

Views

Activity

Unexpected viewWillTransitionToSize call in landscape orientation with portrait size
Context Objective-C code for the most part iOS 14.8 iPhone X Xcode 14.0.1 I have an app that does the following: User visits portrait orientation page Rotating the phone transitions the page to landscape mode. We then hide the first row in a collection view. Tapping a collection view row presents a special landscape VC Tapping a navigation button dismisses the special landscape VC The expected behavior is to reveal the parent landscape VC underneath the special VC. When performing these actions while running the app in Xcode, the application performs as expected and probably has for years. However, when performing the same actions when NOT attached to Xcode, viewWillTransitionToSize() is called with a portrait orientation size which causes the VC to animate and render the parent view incorrectly. I did discover that if I started the app unattached, then "Attach to Process" in Xcode, I can get the same incorrect viewWillTransitionToSize() call to happen.
0
0
481
Dec ’22
How can I securely deploy a certificate and pin?
I've got an idea for an app, but I'd need the ability to deploy a cert and pin that I can secure in mobile applications. Is there a way to do this at installation time without user intervention beyond access permissions? The idea is to protect, not just obfuscate these resources from determined parties who'd want to extract the cert and pin then use them to simulate valid clients accessing my service.
1
0
511
Mar ’20