Hi, guys --
I want to replace - (BOOL) shouldAutorotate in UINavigationController by very simple code, which in Basic looks so
booleanAllowRotateTemporary and booleanAllowRotate are boolean public variables, declared in dataCommon module.
I looked compiled code and converted to
But compiler talks: 'UINavigationController' does not have a member named '__datacommon'.
Any ideas how to refer ?
I want to replace - (BOOL) shouldAutorotate in UINavigationController by very simple code, which in Basic looks so
B4X:
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
B4X:
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 ?
Last edited: