GithubHelp home page GithubHelp logo

floating-clock's Introduction

更新说明

突然间这两个月这个东西好像很多人有需求,甚至还有直接找到我微信加我的。

现在这个代码其实能实现得功能很有限。

更多的拓展可以有:

  1. 自定义view在画中画上。

  2. 隐藏系统的播放按钮、快进、进度条、拍照或者拍摄视频时,怎么才不会暗屏。横屏,正方形,竖屏。

  3. 拍摄视频30s左右后,代码不会停止运行。旋转悬浮窗。

预览:

未命名_

Floating-Clock App

Use AVPictureInPictureController It can hover over other apps. Time display will not be affected by users

if you use iphone, AVPictureInPictureController require iOS14

If you're going to run it in an simulator, the iPad's simulator supports picture-in-picture, but the iPhone doesn't

中文说明

知乎跳转连接

1. PreView

demo.gif

floating-clock's People

Contributors

gdoudeng avatar wlixcc avatar

Stargazers

Roman avatar

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.