Hi, guys --
To subclass UIViewController in XCode is enough simple due to wizards. For example,
But how to do the same in B4I ?
I tried to use Erel's shouldAutorotate as layout. shouldAutorotate works, but methods, which I try to add, are not called.
Any ideas ?
To subclass UIViewController in XCode is enough simple due to wizards. For example,
B4X:
#import <UIKit/UIKit.h>
@interface FirstViewController : UIViewController
@end
@implementation FirstViewController
- (BOOL) prefersStatusBarHidden { NSLog(@"prefersStatusBarHidden"); return YES; }
@end
But how to do the same in B4I ?
I tried to use Erel's shouldAutorotate as layout. shouldAutorotate works, but methods, which I try to add, are not called.
Any ideas ?