IOS-Fixed content in UIScrollview

Posted by heaven on Stack Overflow See other posts from Stack Overflow or by heaven
Published on 2012-10-21T15:34:36Z Indexed on 2012/10/21 17:01 UTC
Read the original article Hit count: 151

Filed under:
|
|

I have a problem with UIScrollView and UILabel. I'm adding UILabel using addSubview inside UIScrollView, one UILabel on the top

set Width: 3000 - height: 20;

other UILabel on the left: set height: 1000 - width: 50;

In the middle UISCrollView is here

I wanna

  • When scroll horizontal the UILabel on the top move to left or right (doesn't move to up or down)

  • When scroll vertical the UILabel on the left move to up or down (doesn't move right or left)

© Stack Overflow or respective owner

Related posts about ios

Related posts about uiscrollview