【问题标题】:Running animation on UIImage?在 UIImage 上运行动画?
【发布时间】:2011-12-22 06:43:28
【问题描述】:

如何在UIImage 上运行一些动画?我找到了UIBezier 路径的解决方案。但它很复杂。如果我有关于如何在UIImage 上运行动画的解决方案,我的问题就解决了。

您可以在 iPad 中找到示例应用程序“Alphabets Tracing”。

我想要 Alphabets 上的那个应用程序中出现的相同动画事物的线索逻辑。

只有UIBezierPath 还是有其他解决方案?

【问题讨论】:

    标签: iphone ios ipad animation uiimage


    【解决方案1】:

    你想运行什么样的动画?

    UIImage + (UIImage *)animatedImageWithImages:(NSArray *)图像持续时间:(NSTimeInterval)duration

    这可以做简单的动画

    【讨论】:

    • 您好 IPaPa,感谢您的回复。我需要类似的东西,如果我有字母“A”,我需要一些其他图像来在字母“A”的线条上制作动画。您可以在 iPad 应用程序“Tracing Alphabets”中找到这方面的示例。提前致谢
    • UIView + (void)animateWithDuration:(NSTimeInterval)duration animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion this can do easy transformation
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-02
    • 1970-01-01
    • 2010-11-25
    • 2015-12-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多