我无法将幻灯片添加到我的应用程序中。
目前,我有一个由segmentedControl组成的UIView。 我根据所选按钮隐藏或显示了两个“视图”。
我想在我的两个视图之一中制作一个简单的幻灯片。 我制作了一个UIImageView,因为它很容易显示图片。
所以我想逐个显示我的图片,可以通过向右或向左滑动手指从一个图像移动到另一个图像(就像在本机应用程序“照片”中一样)。
我试图从文档中修改示例代码,但没有成功。
所以我想寻求帮助。
谢谢,jb crestot
I got trouble to add slideshow to my application.
Currently, I have a UIView composed of a segmentedControl. I made two "views" that I hide or display depending on the selected button.
I'm looking to make a simple slideshow in one of my two views. I made a UIImageView because it is simple to display pictures.
So I'd like to display my pictures one by one and it is possible to move from one image to another by sliding your finger to the right or left (just as in the native app "Photos").
I tried to adapt example codes from the documentation, but without succes.
So I'ml looking for help.
Thanks, jb crestot
最满意答案
请参阅apple的页面控件示例应用程序。
See apple's page control sample application.
更多推荐
发布评论