• 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: NSSavePanel runModal isn't working in sandbox?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel runModal isn't working in sandbox?


  • Subject: Re: NSSavePanel runModal isn't working in sandbox?
  • From: Samuel Williams <email@hidden>
  • Date: Sat, 09 Jun 2012 06:20:47 +1200

>
>
> I've had no problems at all with NSSavePanel under the sandbox (the
> inherited methods limitation that Graham mentioned excepted).
>
> My usage looks almost exactly like the code above except that I call
> -beginSheetModalForWindow:completionHandler: instead of -runModal.
>
> BUT. You need the com.apple.security.files.user-selected.read-write
> entitlement set to YES.
>
>
Yeah, I have already set entitlements correctly. The NSPersistentDocument
open/save are working fine. But, having issues with NSSavePanel... I tried
the variation with completionHandler and still had the same problem, I also
tried using a delegate but that also didn't seem to provide any useful
information.

Everything was working fine under a non-sandbox environment.. so its a bit
odd..

Maybe I could try to make a very minimal example that could be used for
testing..

Kind regards,
Samuel
_______________________________________________

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: NSSavePanel runModal isn't working in sandbox?
      • From: Corbin Dunn <email@hidden>
References: 
 >Re: NSSavePanel runModal isn't working in sandbox? (From: Rainer Brockerhoff <email@hidden>)

  • Prev by Date: Re: Desktop geometry problem
  • Next by Date: Re: NSSavePanel runModal isn't working in sandbox?
  • Previous by thread: Re: NSSavePanel runModal isn't working in sandbox?
  • Next by thread: Re: NSSavePanel runModal isn't working in sandbox?
  • Index(es):
    • Date
    • Thread