tombenner / nui

Style iOS apps with a stylesheet, similar to CSS
MIT License
3.76k stars 461 forks source link

NUI causes crash for app that also supports iOS 4.3 #98

Closed Wenzhi closed 11 years ago

Wenzhi commented 11 years ago

It is mainly because some methods in NUI are only available in/after iOS 5. It would be easily fixed by adding some version checks before calling those methods.

powerje commented 11 years ago

Doesn't NUI rely on UIAppearance rather heavily, which is part of iOS 5?

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAppearance_Protocol/Reference/Reference.html

I believe NUI would generally fail to work without the availability of UIAppearance.

tombenner commented 11 years ago

Yes, supporting iOS < 5.0 would involve a lot of work. If someone would like to work on it, definitely feel free to, but for now, I'm going to close this, as it's not really on the roadmap right now.