【发布时间】:2015-11-05 19:05:26
【问题描述】:
我正在开发一款游戏,该游戏涉及卡片(ImageViews),卡片上带有显示随机单词的标签。我希望介绍从显示卡片背面的 ImageView 开始,然后用不同的图像和标签翻转到前面。我正在使用下面的代码,但它似乎只是翻转到同一侧。如何在正面加入不同的图像并在标签中包含单词?
UIView.transitionWithView(self.imageView6, duration: 1.5, options: UIViewAnimationOptions.TransitionFlipFromRight, animations:{
},
completion: nil)
【问题讨论】:
标签: ios swift animation core-animation flip