1
我有一個警告面板說,NSRunalertpanel
NSRunAlertPanel(@"Alert!", @"Do you want to mail your team or raise a Request?", @"Mail", @"Cancel", @"Request");
如果我點擊應顯示的郵件窗口中的郵件,如果我要求各窗口中單擊應該得到開闢。所以我嘗試過,
if (NSAlertDefaultReturn){
[mailWindow showWindow:mailWindow];
}
if (NSAlertOtherReturn){
[reqWindow showWindow:reqWindow];
}
但我得到兩個窗口打開時,我點擊'請求'。我是新的COC