ios - UIScrollView includes extra space at bottom -


i have uiscrollview continually adds space @ bottom of scroll area on ios 7. if rotate device, problem fixes itself, however, before rotating after first navigating view controller, space appears. i've included image below:

enter image description here

what i've tried:

  1. set automaticallyadjustscrollviewinsets no
  2. checked contentsize, contentoffset , contentinset. appear fine.

i'm not sure else try solve issue, , appreciate or direction here!

edit: layer of complexity issue... call method, updatescrollviewcontentsize in viewdidappear: method. when rotate, , somehow fixes itself, same method called. contentsize being set when view appears , when rotate.

to make things worse, content size set 638... whether there space or not. but, reason, scrollview ignores until rotate.

here method update contentsize:

- (void)updatescrollviewcontentsize {     [self.scrollview setcontentsize:cgsizemake(self.scrollview.frame.size.width, (self.feedbackfooterview.frame.origin.y + self.feedbackfooterview.frame.size.height + 20))]; } 


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

Maven Javadoc 'Cannot find default setter' and fails -