本文介绍了混合OpenGL和UIKit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前的iPhone应用程序使用UIKit。现在我想在应用程序中使用一些小效果,例如看起来像正在爆炸的文本。我的想法是使用OpenGL来实现这些效果。像这样混合UIKit和OpenGL是一个好主意还是应该避免它?我看过一些帖子说这不是一个好主意,而另一些说它运作得很好。您有什么看法并与苹果公司合作?

My current iPhone app uses UIKit. Now I want some small effects in the app, for example a text looking like it's blowing up. My idea is to use OpenGL for these effects. Is it a good idea to mix UIKit and OpenGL like this or should I avoid it? I have read some posts saying it's not a good idea and other saying it works just fine. What is your opinion and is it okey with Apple?

推荐答案

取决于您的目标受众。如果你关心年龄较大的iPhone用户,那么混合使用UIKit和OpenGL可能并不好,因为旧的iPhone无法很好地处理这个问题。较新的人处理得很好。

Depends on your target audience. If you care about older iPhone users, then mixing UIKit and OpenGL might not be good as older iPhones don't handle this very well. Newer ones handle it just fine.

今年早些时候,我看到了Noel Llopis的一次会议,他展示了OpenGL和UIKit混合的多么酷。请在此处查看/收听:(嗯,我没有收到任何关于那个的音频,但也许那个Chrome代理up)

I saw a session by Noel Llopis earlier this year where he demonstrated exactly how cool OpenGL and UIKit mixed can be. See/hear it here: http://www.slideshare.net/llopis/the-best-of-both-worlds-mixing-uikit-with-opengl (hm, I don't get any audio on that one, but maybe that's Chrome acting up)

这篇关于混合OpenGL和UIKit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 13:30