Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 955719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:25:44+00:00 2026-05-16T00:25:44+00:00

I have file sharing via iTunes working in my application (reference What’s New in

  • 0

I have file sharing via iTunes working in my application (reference What’s New in iOS 3.2) by enabling the UIFileSharingEnabled key, but according to the documentation:

“Applications that support file sharing should be able to recognize when files have been added to the Documents directory and respond appropriately.”

My question is, if my application is running, and then the user decides to add a file, how do I respond to this event? And what event is it that I would respond?

In other words, I know what my iPhone application needs to do when a file is added but not sure where to put this “responding” code. Currently, if my application is running (could be running in the background as well) and a file is added, the only way to see the effects of this added file is by force-quitting the application and then re-launching the app.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T00:25:45+00:00Added an answer on May 16, 2026 at 12:25 am

    You need to remember that your app isn’t really running in the background, or at all for that matter when files are added to the device. In order for the user to add files to device he needs to sync it in iTunes. So after the sync is done, your app will either be relaunched, or resumed, in both these cases you have methods in your app delegate which you can use to check if new files were added to to the application.

    - (void)applicationDidBecomeActive:(UIApplication *)application
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

OK I have so much questions regarding my file sharing application that I don't
Okay I'll try to be direct. I am working on a file sharing application
I have a simple file sharing application. Users are sending data among each other
I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible
I have to implement a middleware system for file sharing, and it has to
I have a file that I want to include in Python but the included
I am using iTunes file sharing in my app, and need to put Core
My app has a feature for File Sharing through iTunes, and I want to
I have a function saving a file to gridfs. It somehow stopped working sporadically
I have files that I want to delete. Connection can be from file sharing,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.