How do I render an HTML5 animation in a native iPhone app?
I am trying to work with an HTML5 animator on an iPhone app. He proposes that we use HTML5 to implement the animations.
As I have never done this开发者_如何学Go before, is it possible for iOS to work with HTML5? Do I just use UIWebView
to render the animations?
Yes, you need to crate an UIWebView, but keep in mind that the iPhone has limited amount of memory an CPU, if the animation will be complex I will render slow.
To render more complex animation I suggest using Quartz 2D
精彩评论