mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
41 lines
697 B
Objective-C
41 lines
697 B
Objective-C
#import "MapsAppDelegate.h"
|
|
#import "MapViewController.h"
|
|
#import "MWMAlertViewController.h"
|
|
#import "MWMViewController.h"
|
|
|
|
|
|
@interface MWMViewController ()
|
|
|
|
@property (nonatomic, readwrite) MWMAlertViewController * alertController;
|
|
|
|
@end
|
|
|
|
@implementation MWMViewController
|
|
|
|
- (BOOL)prefersStatusBarHidden
|
|
{
|
|
return NO;
|
|
}
|
|
|
|
- (void)viewDidLoad
|
|
{
|
|
[super viewDidLoad];
|
|
[self.navigationController.navigationBar setTranslucent:NO];
|
|
}
|
|
|
|
#pragma mark - Properties
|
|
|
|
- (BOOL)hasNavigationBar
|
|
{
|
|
return YES;
|
|
}
|
|
|
|
- (MWMAlertViewController *)alertController
|
|
{
|
|
if (!_alertController)
|
|
_alertController = [[MWMAlertViewController alloc] initWithViewController:self];
|
|
return _alertController;
|
|
}
|
|
|
|
@end
|