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

sql - Postgresql error: "failed to find conversion function from unknown to text" -

Phantomjs login, redirect and render page after pageLoad finishes -

c# - Derived UserControl layout resets after build -