• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Questions regarding the sandbox in iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions regarding the sandbox in iOS


  • Subject: Re: Questions regarding the sandbox in iOS
  • From: Carl Hoefs <email@hidden>
  • Date: Tue, 05 Feb 2019 13:29:20 -0700

> On Feb 5, 2019, at 10:30 AM, Jens Alfke <email@hidden> wrote:
>
>> On Feb 5, 2019, at 9:25 AM, Carl Hoefs <email@hidden
>> <mailto:email@hidden>> wrote:
>>
>> The reason for the specific sandbox questions is that my iOS app needs to
>> call 3rd-party functions, some of which create temp files "in place" - as if
>> they did an fopen("filename.ext","w"). Such temp files appear to be written
>> "nowhere"...
>
> You can set the current directory wherever you want, via the system call
> chdir(), before calling those functions.

Yes, chdir(docsSandbox.UTF8String) works perfectly!

Thanks!
-Carl


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Questions regarding the sandbox in iOS
      • From: Quincey Morris <email@hidden>
References: 
 >Questions regarding the sandbox in iOS (From: Carl Hoefs <email@hidden>)
 >Re: Questions regarding the sandbox in iOS (From: Alex Zavatone <email@hidden>)
 >Re: Questions regarding the sandbox in iOS (From: Carl Hoefs <email@hidden>)
 >Re: Questions regarding the sandbox in iOS (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Questions regarding the sandbox in iOS
  • Next by Date: Re: Questions regarding the sandbox in iOS
  • Previous by thread: Re: Questions regarding the sandbox in iOS
  • Next by thread: Re: Questions regarding the sandbox in iOS
  • Index(es):
    • Date
    • Thread