-1
我的課是一個UIView的子類,因爲我想繪製一些東西。presentModalViewController for UIView
是否有可能在此上下文中使用ModalViewController?
我嘗試這樣做:
DrawViewController *dc = [[DrawViewController alloc]init];
[dc setModalTransitionStyle:UIModalTransitionStylePartialCurl];
[self presentModalViewController:dc animated:YES];
但它拋出錯誤...