ios - 更改数字界面的主题

标签 ios user-interface twitter twitter-digits

在 Twitter Digits SDK 方面需要一些帮助。我需要为我的应用程序实现自定义配色方案,但似乎无法修改 native 数字 UI 屏幕的方案。我们如何修改这些屏幕?

最佳答案

除了设置背景颜色和强调颜色之外,您在自定义 UI 方面没有太多选择。

您可以通过 DGTAppearance实例。例如;

DGTAppearance *digitsAppearance =
            [[DGTAppearance alloc] init];
  // Change color properties to customize the look:
  digitsAppearance.backgroundColor = [UIColor
                                          colorWithRed:81/255.
                                          green:208/255.
                                          blue:90/255.
                                          alpha:1];
  digitsAppearance.accentColor =
                              [UIColor redColor];

你会找到你需要的一切here .

关于ios - 更改数字界面的主题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30209359/

相关文章:

python - 从列表生成 wxPython 小部件组

java - Java 的 UI 控件

c++ - 在 C++ 中提示可编辑的默认值?

php - 如何在 Symfony2 的 Twig 文件中包含 PHP 文件

mongodb - 将 Selenium 与 Scrapy 一起使用会禁用管道功能?我怎样才能重新启用它?

iphone - 将当前位置从 iPhone 发布到 Rails

ios - Alamofire - Swift 编译器错误 - 使用未声明的类型

ios - 线程 1 : signal SIGABRT Login Button Causes App to Crash

ios - ScrollView Autolayout 中的 TableViews

node.js - 无法修复 - events.js :183 throw er;//Unhandled 'error' event