When i write the following code, I get the Application tried to push a nil view controller on target error.
BOOL isboyWithGlass;
isboyWithGlass=TRUE;
NSLog(@"%@",isboyWithGlass);
can anyone tell me how to remove this error while i am using the above code.
BOOL while printing it always takes it as int
So print it like
It will return as 1 (If it is yes) or 0 (If it is no)
If you want to print it as string then