美文网首页
2021-11-04(@weakify(self)&@stron

2021-11-04(@weakify(self)&@stron

作者: ImmortalSummer | 来源:发表于2021-11-05 15:56 被阅读0次
-(void)gotoGenderSelectionController {
    
    LDGenderSelectionController *genderVC = [LDGenderSelectionController new];
    genderVC.modalPresentationStyle = UIModalPresentationFullScreen;
    @weakify(self)
    [genderVC setCompleteBlock:^{
        @strongify(self)
        [self gotoMainRootViewController];
    }];
    [self presentViewController:genderVC animated:YES completion:nil];
}

相关文章

网友评论

      本文标题:2021-11-04(@weakify(self)&@stron

      本文链接:https://www.haomeiwen.com/subject/hockzltx.html