ios - Facing issue in implementing horizontal and vertical scrollview using autolayout -
i implementing horizontal , vertical scrollview in application. outer scrollview scrolling vertically , inner scrollview scrolling horizontally.
i have set layout shown in below image.
now set content size of outer scrollview follows
self.outerscrollview.contentsize = cgsizemake(self.view.frame.size.width, self.outerscrollview.frame.size.height);
i have set view's width 460 eventhough able scroll screen in iphone4s , iphone5 simulator. not scroll on both of these devices.
if temporary remove inner view scrolling not happen.
can me why facing problem?
Comments
Post a Comment