This repository has been archived on 2022-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
fanny-app/sources/ios/notch.mm

18 lines
538 B
Text
Raw Permalink Normal View History

#include <UIKit/UIKit.h>
#include <UIKit/UIApplication.h>
#include "headers/ios/notch.h"
Notch::Notch()
{
//Top
//UIView *statusBar = (UIView *)[[UIApplication sharedApplication] valueForKey:@"statusBar"];
//statusBar.backgroundColor = [UIColor colorWithRed:0.09 green:0.14 blue:0.19 alpha:1.0];
//Bottom
//UIApplication *app = [UIApplication sharedApplication];
//[app set]
//app.windows.firstObject.backgroundColor = [UIColor whiteColor];
//app.windows.firstObject.tintColor = [UIColor blackColor];
}