Tuesday, 11 September 2012

Drawing and UIScrollView


using new features in xcode 4.2 challenging task, when community doesn't seem know it. macrumors can here.

using view size attributes panel in storyboard, have scroll view positioned (0,0) , sized width:320, height:659.

using scroll view size attributes panel in storyboard, have content insets set @ top:0 bottom:659 left:0 right:0. scroller insets set @ 0 top bottom left , right.

autosizing switch on dimensions in both view , scroll view - not know doing...

have been adjusting these figures, tweaking them or down , can't scrolling work how need to. please help. how should have these settings configured?

 

i've hardly used storyboards don't have authoritative answer. but, contentinsets not relevant this. should zero. it's contentsize property of scrollview makes scroll. needs set size larger frame of scrollview.

without storyboards way set contentsize in code, in viewdidload. don't know if can set contentsize storyboard or if sets value automatically (which should have done never did).
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment