开发者

How to slide button vertically in iphone?

How to slide button vertically in iphone by programmatically ?

Hey i have 7 开发者_JAVA技巧images. and i want to display only 3 images vertically. and other images will be display when user scroll it upward.


Take a look at UIScrollView class :-) and then at UIImageView
If I understand what you want to do...

But we won't code you the thing ;-)

Good Luck.


add scrollview and setPagingEnabled =yes;

then

two way

1.add all images in view as subview and set the frame of them by one by one

2.in one view while scroll up add next image in view and remove old image.

right.Got it?


i think this tutorial will help you

http://www.edumobile.org/iphone/iphone-programming-tutorials/pagecontrol-example-in-iphone/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜