I have made an iPad application. Now i have a requirement to upload any file into my application shared/document folder from my System through iTunes.
I have learned from this link http://support.apple.com/kb/ht4094 that we can make our application for File Sharing. If our application has enabled File Sharing then our application will be seen under File Sharing Tab in iTunes.
So i want my app to be seen under File Sharing Tabs so that i can share any file into my application.
Please can anybody guide me through this.
Thanks
Just define this key in your info.plist file -
<key>UIFileSharingEnabled</key>
<true/>
Related
I can not understand how to share folders and files created by my app within Apple File app.
Virtually how does the app Pages
I tried this but it did not work
How to enable file sharing for my app?
Edit your Info.plist file and add these keys:
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
The file sharing link included in the question is for the iTunes-based file sharing, which is still supported and requires the UIFileSharingEnabled key only. The new Files app in iOS 11 requires that key plus the LSSupportsOpeningDocumentsInPlace key.
My org is creating an app, that will have certain wifi hotspots listed in a mobile config file, so that the user does not have to write the password for these wifi when he is in range.
I know this can be done using .mobileconfig file. But I have serious doubts.
Here are few questions regarding the app:
Can .mobileconfig file be created programatically. I cannot find a link to how to cretae this programatically (not using iPCU).
Will Apple allow an app that creates .mobileconfig file and asks the user to download it and install it, so as to change the wifi settings?
Is making the user download this .mobileconfig file only possible via Safari or Mail? Is there any way that this file be opened directly from the app to the settings screen?
Thanks in advance. :)
1) Yes it can. It can be created as an XML file. In fact, you can open and edit an unsigned .mobileconfig file in a text editor and edit the fields. Keep in mind that if it's signed then any edits to the file will require you to re-sign it.
2) Apple will allow an app that downloads and installs a .mobileconfig via Safari, I've seen one on the App Store that does this.
3) Safari + Mail are the only ways to open them(on iOS).
I know that we can share file from app to computer (iTunes), i want to know that can i share Sqlite file with iTunes or there is any way to import sqlite file to excel and then share this excel file from app to iTunes. Any code or help will be appreciable. Thanks
use this key in .plist and solve your problem
<key>UIFileSharingEnabled</key>
<true/>
Specifies whether the application shares files with the user’s computer through iTunes. By apple
By enable the option called
Application supports iTunes file sharing,
I can integrate a file ( example an image) into my device via iTune. My question is where is the location of that image in my device and are there any ways we can access it via xcode.
Please advice me on this issue if you have any ideas about this.
Thanks
In Xcode.... Organiser > Your Device > Applications > Click App > You can see the files in the sandbox
Each app is sandboxed. That means it has it's own filesystem generated by xcode (/library /documents) relative to the app. Your files are probably on [yourapp]/documents.
I am trying to figure out how to copy a ringtone file (.m4r) embedded in the app to iTunes when connected. After the file is copied into iTunes, they can simply sync the file like every other file. I know this is possible, since there are other ringtone apps that do this exact same thing. If someone could point me in the right direction or maybe provide some sample code, that would be great. Thanks.
You can share files from your app's Documents directory with iTunes. Simply add the following XML to your info.plist:
<key>UIFileSharingEnabled</key>
<true/>
Now, files in your app's Documents directory will appear in the File Sharing section of iTunes. Is that what you're after?