Open sitale opened 8 years ago
(void)attachToViewController:(UIViewController *)vc withFrame:(CGRect)frame { [vc.view addSubview:self.view]; [vc addChildViewController:self]; [self didMoveToParentViewController:vc];
vc.view.frame = frame; }
this function set preview frame . but last row is set ParentVC.view frame
(void)attachToViewController:(UIViewController *)vc withFrame:(CGRect)frame { [vc.view addSubview:self.view]; [vc addChildViewController:self]; [self didMoveToParentViewController:vc];
vc.view.frame = frame; }
this function set preview frame . but last row is set ParentVC.view frame