作者:kanney姜_958 | 来源:互联网 | 2024-11-03 21:00
以下方法不行UIViewController* cOntroller= self.view.window.rootViewController;123[picker showBoard];self.m
以下方法不行
UIViewController* cOntroller= self.view.window.rootViewController;
1 2 3
| [picker showBoard];
self.modalPresentatiOnStyle= UIModalPresentationCurrentContext;
[controller presentViewController:picker animated:YES completion:nil]; |