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

c# - HttpResponseMessage System.InvalidOperationException -

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