Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift调用主题生成器不执行block #1225

Open
coderDeviCheng opened this issue Apr 11, 2021 · 0 comments
Open

swift调用主题生成器不执行block #1225

coderDeviCheng opened this issue Apr 11, 2021 · 0 comments

Comments

@coderDeviCheng
Copy link

QMUI 已经提供了详尽的注释文档,以及完整的示例项目 QMUI Demo,当你遇到某些功能不知道怎么使用,或者想知道 QMUI 是否有提供某些功能时,请先查看注释文档或者 Demo,找不到了再提 issue。若提的 issue 已有明确注释或示例的,可能会被直接关闭或得不到及时的回复,请知悉。
在swift AppDelegate 的 didFinishLaunchingWithOptions方法中调用主题生成器,block不执行
QMUIThemeManagerCenter.defaultThemeManager.themeGenerator = {
(themeNameStr) -> NSObject in
print("themeNameStr = (themeNameStr)")
return QMUIConfigurationTemplate.init()
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant