ios - How to log a bit mask -



ios - How to log a bit mask -

i calling [[uiapplication sharedapplication] enabledremotenotifications] returns bitmask. how nslog bitmask understand how bitmask composed , notifications on/off?

you need print binary value 1 or 0 each bit. here question answers how log binary value:

nsinteger binary (string) value in 8bit format

ios cocoa-touch cocoa

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

How do I check if an insert was successful with MySQLdb in Python? -