Breaking News
Home / iOS / ObjectiveC (page 3)

ObjectiveC

How do display a UIAlertView with Ok button only in iOS?

Answer +(void) popupAlertWithTitle: (NSString *) title andMessage:(NSString *) msg {     UIAlertView *alert = [[UIAlertView alloc] initWithTitle: title message: msg delegate: self cancelButtonTitle: nil otherButtonTitles: @"OK",nil, nil];     [alert show];     [alert release]; } [pb_builder]

Read More »