ios - Pixate updateStylesForAllViews not working after updated to PixateFreestyle -
i change css files @ code side. working when use pixate. updated dependencies freestyle , use updatestylesforallviews
not work anymore. have restart application things done. idea ?
- (void)applycurrenttheme { #if target_iphone_simulator || target_ipad_simulator pixatefreestyle.currentapplicationstylesheet.monitorchanges = yes; #endif nsstring *filepath = [[nsbundle mainbundle] pathforresource:themefilename oftype:@"css"]; [pixatefreestyle stylesheetfromfilepath:filepath withorigin:pxstylesheetoriginapplication]; [pixatefreestyle updatestylesforallviews]; }
Comments
Post a Comment