Hi, guys --
I want to replace - (BOOL) shouldAutorotate in UINavigationController by very simple code, which in Basic looks so
If dataCommon.booleanAllowRotateTemporary Then
dataCommon.booleanAllowRotateTemporary = False
Return True
Else
Return dataCommon.booleanAllowRotate
End If
booleanAllowRotateTemporary and booleanAllowRotate are boolean public variables, declared in dataCommon module.
I looked compiled code and converted to
if (self->__datacommon->__booleanallowrotatetemporary) { self->__datacommon->__booleanallowrotatetemporary = false; return true; } else { return self->__datacommon->__booleanallowrotate; }; }
But compiler talks: 'UINavigationController' does not have a member named '__datacommon'.
Any ideas how to refer ?