iphone 弹出框

UIAlertView *someError = [[UIAlertView alloc]
			initWithTitle:@"Something wrong!"
			message:@"Your iPhone is broken!"
			delegate:self
			cancelButtonTitle:@"OK"
			otherButtonTitles:nil];
[someError show];
[someError release];

你可能感兴趣的:(java)