iOS 实现 presentViewController:界面,
2021-04-14 本文已影响0人
iOS开发小学生
TZImagePickerController *imagePickController = [[TZImagePickerController alloc] initWithMaxImagesCount:self.maxImageSelected delegate:self];
*** 这句的代码是关键 ***
*** imagePickController.modalPresentationStyle = UIModalPresentationFullScreen;***
[self.currentViewController presentViewController:imagePickController animated:YES completion:nil];
}