iOS弹出窗口

        UIAlertView *alterView=[[UIAlertView alloc]initWithTitle:@"警告" message:@"登陆成功" delegate:self cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];
        [alterView show];

原文地址:https://www.cnblogs.com/-ios/p/4672883.html