简体   繁体   中英

Adding style sheets or something similar to control iOS app UI?

So I have done some work with Qt, and they have a QStyleSheet class where you can apply a style string to control the style of UI elements similar to CSS style sheets. Is there anything like this that I could use for UIKit? I've tried searching, but I only find references to style sheets for UIWebView.

In Qt you might do something like this:

objectPointer->setStyleSheet("QWidget {background-color: red; color: white;}");

check nimbuskit or UISS or NUI projects. all of them provide such CSS stylings for your views.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM