> On Feb 5, 2019, at 10:30 AM, Jens Alfke <[email protected]> wrote: > >> On Feb 5, 2019, at 9:25 AM, Carl Hoefs <[email protected] >> <mailto:[email protected]>> 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 protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
