Giter Club home page Giter Club logo

gaoypchina / appwatermark Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 4.0 16 KB

Watermark the application globally. If the user takes a screenshot in the application, all screenshots will have a watermark. It is commonly used in the internal application of enterprises, and there is a need for confidentiality.给应用全局加水印。用户如果在应用内截图,则所有截图都会有水印。一般应用于企业内部应用,有保密需要的场景。

Objective-C 100.00%

appwatermark's Introduction

AppWatermark

Watermark the application globally. If the user takes a screenshot in the application, all screenshots will have a watermark. It is commonly used in the internal application of enterprises, and there is a need for confidentiality.给应用全局加水印。用户如果在应用内截图,则所有截图都会有水印。一般应用于企业内部应用,有保密需要的场景。

The trick is to add a watermark view to the front of the application's Application window. 实些方式是在应用的Application window 的最前面增加水印的view.

已知问题:显示系统相册等系统的界面时,会无法点击。

本项目开源,但是本项目在北京时间19点以后,不得以调试模式、单步方式运行。 如果您需要在北京时间19点以后开发的话,请不要使用本项目。

appwatermark's People

Contributors

gaoypchina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

appwatermark's Issues

看到简介,那个已知问题,我是身同感受啊

公司要求APP所有界面都加水印,我自定义了一个watermark的视图,addsubview到keywindow下,再把watermark的userinteractionenabled设置成NO。这样需求大功告成!然而,后续用户反馈,水印挡住了某些点击事件(调用相册时,分享文件时),我用xcode的Debug view hierarchy查看,这些被挡住的界面都属于UITransitionView,就是系统的界面和keywindow的子视图会有莫名的BUG,真是让人头大。网上关于UITransitionView的资料很少,apple developer里甚至没有,愁死人啊。不知阁下有没有继续研究下去呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.