I am getting an NSKeyValueUndefinedSetter error in my app... I found that what was happening was that I was trying to access an object in an array that was "Invalid". Another problem I had was that an if statement didn't seem to be "listening". It knew that a certain boolean was false, yet it continued anyway.
I think that the second problem caused the first, but I do not know if the problem is in the following:
You see, that if statement continues even when isLandscape is YES - but only sometimes!
Also, not sure if it helps though, I get EXC_BAD_ACCESS.
I am now convinced it is a problem with isLandscape: when I take that part out, it is ok!
I think that the second problem caused the first, but I do not know if the problem is in the following:
PHP:
BOOL touchIsValid = !([infoView pointInside:touchPtMain withEvent:event]) && (touchPtMain.y < 400);
if(touchIsValid && toolSelected == @"aSelectedString" && !isLandscape)
You see, that if statement continues even when isLandscape is YES - but only sometimes!
Also, not sure if it helps though, I get EXC_BAD_ACCESS.
I am now convinced it is a problem with isLandscape: when I take that part out, it is ok!