D
Deleted member 103
Guest
Hi,
I use this code-snippet in 2 apps. The first one works without problems, the second one gives me these error messages:
OK, the problem is this code:
If I comment out this code then the 2 sub found.
But I'm not allowed to comment out the code, I need the code.
What should I do?
I use this code-snippet in 2 apps. The first one works without problems, the second one gives me these error messages:
Why are not these 2 sub found? They are certainly available.Application_Start
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 "Method not found: audiovol_hide, target: <b4i_main: (null)>" UserInfo={NSLocalizedDescription=Method not found: audiovol_hide, target: <b4i_main: (null)>}>
Page1_Resize
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 "Method not found: audiovol_set:, target: <b4i_main: (null)>" UserInfo={NSLocalizedDescription=Method not found: audiovol_set:, target: <b4i_main: (null)>}>
Application_Active
OK, the problem is this code:
B4X:
#if OBJC
@end
@interface UINavigationController (B4IResize)
@end
@implementation UINavigationController (B4IResize)
- (BOOL)shouldAutorotate
{
return [(NSNumber*)[B4IObjectWrapper raiseEvent:self :@"_shouldautorotate" :nil] boolValue];
}
#End If
If I comment out this code then the 2 sub found.
But I'm not allowed to comment out the code, I need the code.
What should I do?