Wednesday, 24 April 2013

Minor problem with UIScrollView paging


hi

i'm having minor problem paging uiscrollview. works correctly, there odd behaviour. basically, scrollview contains 7 uiimages gesturerecognizers. now, selectors fire when tap images, scrollview resets it's on first page time tap anywhere. making scrollview programatically. here how i'm doing that:

code:
      scrollview = [[uiscrollview alloc] init];      scrollview.frame = cgrectmake(0,0,316,50);      scrollview.contentsize = cgsizemake(460, 50);      scrollview.pagingenabled = yes;  
any awesome.
 

your problem occurs when user taps on images, not @ setup, wouldn't seeing code that's executed when tap detected more useful?
 


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