Which class handles popup / notification windows on iphone?

I am looking for the name of the pop-up / message class on the iPhone (this is a blue window that appears when a missed call, for example, a message appears).

+3
source share
3 answers

The class is called UIAlertView. From the documentation:

Use the UIAlertView class to display a warning message to the user. The functions for viewing alerts are similar, but differ in appearance from the action sheet (instance of UIActionSheet).

, , , . , . UIAlertViewDelegate. show .

+9

( ) - , . SDK. lajos , , . , SDK .

+1

UIAlertView , :

UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Message" message:nil delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil] autorelease];

[alert show];

"" "", . , ( ..).

+1

Source: https://habr.com/ru/post/1697942/


All Articles