简体   繁体   中英

EXC_BAD_ACCESS when using NativeCSS

I'm trying to use the nativecss library but face the EXC_BAD_ACCESS error. This error only appears when the following style is added:

viewcontroller#view { 
-ios-style-guide-visible:true;
}

or

viewcontroller#view,
viewcontroller#view > view { 
-ios-style-guide-visible:true;
}

edit or

view {
-ncss-style-guide-visible:true;
}

also on the error stack mostly it stops around the property_getAttributes call

has anyone encounter similar problems?

update

My bad:) it seems that it doesnt work on real device, when I've run this code on simulator then all works,

This only works on simulator not real device. To have it working test on simulator.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM