objective c - iOS 9 iPad split screen completion/finished notification -
i implementing new feature in ios 9 new ipads of having multitasking of 2 apps split screen.
i can't seem find completion
method of when split screen adjustment has finished after user has dragged app view size handle.
how notify app app being run in split screen?
note: different uisplitviewcontroller
. referring multitasking of 2 apps in split screen, not uisplitviewcontroller
when user alters split screen sizes root view layout it's subviews new size, can implement viewdidlayoutsubviews
in view controller.
-(void)viewdidlayoutsubviews { if(!cgsizeequaltosize(self.lastframesize,self.view.frame.size)) { nslog(@"size changed:(%f x %f)",self.view.frame.size.width, self.view.frame.size.height); } self.lastframesize=self.view.frame.size; }
Comments
Post a Comment