Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 488 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 488 Bytes

SecureView

Enables you to hide ur UIViews and make them screen/screen shot proof. objective c/c++ only

Usage

UIWindow* mainWindow;

- (void) setup {
  mainWindow = [[UIApplication sharedApplication] windows].lastObject;

  SecureView *secureView = [SecureView new];
  secureView.frame = mainWindow.frame;
  [secureView setSecure:YES];
  [mainWindow addSubview:secureView];
}

based on: https://stackoverflow.com/questions/18680028/prevent-screen-capture-in-an-ios-app