Return to Snippet

Revision: 66888
at July 16, 2014 22:21 by Nibli


Initial Code
NSArray *windows = [UIApplication sharedApplication].windows;
for (UIWindow *window in windows) {
    for (UIView *view in window.subviews) {
        [view removeFromSuperview];
        [window addSubview:view];
    }
}

Initial URL


Initial Description
This snippet shows you how to reload the UIAppearance of an application after changes made on the proxies. This is required because iOS nativaly only load appearance proxies on "applicationDidFinishLaunching".

Initial Title
Refresh UIAppearance after application loaded

Initial Tags
update, theme, ios

Initial Language
Objective C