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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -