al
liurenjie
2021-07-27 a54e30ae33480a801bbb09d261cb9e13dab62e8b
BuWanVideo2.0/PPTVController.m
@@ -184,7 +184,17 @@
- (void)copyUrl {
    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
    pasteboard.string = _content?:@"";
    [SVProgressHUD showWithStatus:@"复制成功"];
    //[SVProgressHUD showWithStatus:@"复制成功"];
    UIAlertController *alert = [UIAlertController alertControllerWithTitle:nil message:@"复制成功" preferredStyle:UIAlertControllerStyleAlert];
    [self presentViewController:alert animated:YES completion:^{
        //延时执行
        dispatch_queue_t q = dispatch_get_main_queue();
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1.2 * NSEC_PER_SEC), q, ^{
            [alert dismissViewControllerAnimated:YES completion:nil];
        });
    }];
}
- (void)login {