1
我显示在我的viewcontroller在表格,但默认大小超过我需要,因此,我试图调整大小,以符合我的要求,但没有任何改变。Resize FormSheet不受影响
var vc = new WSViewController();
vc.ModalPresentationStyle = UIModalPresentationStyle.FormSheet;
vc.ModalTransitionStyle = UIModalTransitionStyle.CrossDissolve;
PresentViewController(vc, true,() => {
vc.View.Superview.Frame = new CGRect(0, 0, 200, 200);
vc.View.Superview.Center = View.Center;
});