我想用这个方法
- (void)beginSheetModalForWindow:(NSWindow *)window modalDelegate:(id)delegate didEndSelector:(SEL)didEndSelector contextInfo:(void *)contextInfo;
我发现NSAlert有这个方法。然而,NSAlert 总是带有它的图标和标题文本。我可以摆脱它们,只拥有我的自定义 View 吗?
最佳答案
关于objective-c - 如何使用没有图标的 NSAlert?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7833563/