Posts

Showing posts with the label UIDocumentInteractionController

My Favourite Ios Evolution Bugs

There are some things inwards iOS evolution that tin actually choose grip of you lot out the get-go fourth dimension you lot run into them in addition to of late I was inspired to brand a listing every bit in addition to when I scream back them. This way that I volition add together to this post over fourth dimension every bit I recall things. I laid out alongside 2 issues. The get-go is a mutual effect on StackOverflow. 1. NSUserDefaults non storing values When testing something it is mutual to throw everything inwards viewDidLoad: but the employment inwards the instance of NSUserDefaults is that it stores information asynchronously in addition to thus if you lot endeavor in addition to at nowadays retrieve what you lot accept but stored thus it commonly isn't there. The solution is to delay the retrieval, using for illustration a push that triggers the retrieval after for testing purposes. Or synchronise() the user defaults. 2. UIDocumentInteractionController crashes my ap...