[iOS] BOOL is not object

BOOL mybool = YES;
NSLog(@"%@", mybool);

above code is error.

below link teach me that BOOL is not object.
Displaying Boolean values

so correct code is here.

BOOL mybool = YES;
NSLog(@"%d", mybool);

Comments are closed.