我正在寻找 iPhone 上弹出/消息窗口的类名称(例如,当您有未接来电或收到消息时,会出现一个蓝色窗口。)
最佳答案
该类称为UIAlertView
。来自文档:
Use the UIAlertView class to display an alert message to the user. An alert view functions similar to but differs in appearance from an action sheet (an instance of UIActionSheet).
Use the properties and methods defined in this class to set the title, message, and delegate of an alert view and configure the buttons. You must set a delegate if you add custom buttons. The delegate should conform to the UIAlertViewDelegate protocol. Use the show method to display an alert view once it is configured.
关于iphone - 什么类处理 iPhone 上的弹出/通知窗口?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/175696/