https://developer.apple.com/library/content/featuredarticles/ViewControllerPGforiPhoneOS/ImplementingaContainerViewController.html#//apple_ref/doc/uid/TP40007457-CH11-SW13
- (void) displayContentController: (UIViewController*) content {[self addChildViewController:content];content.view.frame = [self frameForContentController];[self.view addSubview:self.currentClientView];[content didMoveToParentViewController:self];}
Комментариев нет:
Отправить комментарий