iphone - UIScrollView Height getting -
i have cardsdetialviewcontroller 1 scrollview in it. height of scrollview set 354 , width set 309, in storyboard shown in following figures.
(https://dl.dropboxusercontent.com/u/19512361/iamges/cardsviewstoryboard.png)
here cardsdetialviewcontroller in storyboard (https://dl.dropboxusercontent.com/u/19512361/iamges/scrollview.png)
i created scrollview outlet , connected cardsdetialviewcontroller. in cardsdetialviewcontroller.m, - (void)viewdidload method calling
cgrect frame = self.cardsscrollview.frame;
the height of frame returned 528 instead of 354 actual value. how can size set scrollview in storyboard.
Comments
Post a Comment