Closed levinli303 closed 4 years ago
When theme changes, invoke the block in configuration
Adding this so we don't have to swizzle UIScreen's traitCollectionDidChange or subclass UIWindow to observe change, needed in our project.
Breaking down the original register to setup (can only be called once) & register
@zhuorantan @li-bei can you take a look?
When theme changes, invoke the block in configuration
Adding this so we don't have to swizzle UIScreen's traitCollectionDidChange or subclass UIWindow to observe change, needed in our project.
Breaking down the original register to setup (can only be called once) & register