cocoa - Dismiss NSSavePanel under sandbox environment -


in sandbox environment, nssavepanel controlled powerbox process.

i'm wondering if there's way dismiss nssavepanel without having user explicitly click 'cancel' or presses esc? example, if want add 'dismiss' button in accessory view of nssavepanel, there way that?

actually apple prohibits invoking ok: method under sandbox, cancel: still works. verified testing app.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -