fix NSCFBoolean in iOS