iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
swiftfans
V2EX  ›  iDev

求教: Mac OS 中有没有覆盖整个屏幕的模态窗口的 API?

  •  
  •   swiftfans · Oct 11, 2015 · 3541 views
    This topic created in 4042 days ago, the information mentioned may be changed or developed.
    类似下面这种效果,不过是覆盖 Mac 的全屏的:
    http://getbootstrap.com/2.3.2/javascript.html#myModal
    (拖到页面中间点击 “ Launch demo modal ”按钮)

    主要是想用来实现一个类似 workrave 这样的提醒功能,例如每隔 1 个小时,就把整个电脑屏幕遮住(背景 50%透明度),中间显示一个倒计时的时钟(例如 5 分钟)——当然也可以显示一些放松的动作指南之类的。

    感谢!!
    gzlock
    gzlock
    Oct 11, 2015❤️1
    2
    参考 nw.js 的 KioskMode
    swiftfans
    swiftfans
    OP
    Oct 12, 2015
    3
    @gzlock 感谢提供关键字!!苹果确实提供了类似的功能:
    https://developer.apple.com/library/mac/technotes/KioskMode/Introduction/Introduction.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1777 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:21 · PVG 01:21 · LAX 09:21 · JFK 12:21
    ♥ Do have faith in what you're doing.