Skip to main content

Posts

Showing posts with the label file sharing

IOS / File Sharing via iTunes and Files app (iOS 11)

Saving FILE / DOCUMENT that you generate using your iOS app is an interesting task when developing iOS App. Eventually you also want to know this ability. You can apparently very quickly save out text files, or output all kind of processed files, etc. into Document sandbox of your app, for later to be accessible via iTunes or NEW Files app (iOS 11)! WRITE https://www.hackingwithswift.com/example-code/strings/how-to-save-a-string-to-a-file-on-disk-with-writeto CUSTOM URL You need to prepare your URL Scheme for your app first. This will be handy at later stage. http://jayeshkawli.ghost.io/ios-custom-url-schemes/ PLIST Then we got to deal with PLIST attributions. This is pretty easy once understood. http://pinkstone.co.uk/how-to-enable-itunes-file-sharing-in-your-ios-app/ https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW20 https://developer.apple.com/librar...