iOS9提供了四类API( Home Screen Quick Action 、 UIKit Peek & Pop 、 WebView Peek & Pop 和 UITouch Force Properties )用于操作3D Touch。不过无论使用哪一种API,首先需要做的事情是检查3D Tou ...
分类:
移动开发 时间:
2016-04-20 19:44:02
阅读次数:
230
如何使用Media Queries媒体查询: (1)<head>里边 <link rel="stylesheet" type="text/css" href="xxx.css" media="only screen and (max-device-width:480px)"> (2)style 里边 ...
分类:
移动开发 时间:
2016-04-20 13:38:19
阅读次数:
301
功能描述:
在TV上,出厂时会默认配置一组屏保图片,用作屏保初期展示。
但作为运营的工具之一,当然会希望屏保图片可以在云端配置,若未配置则采用系统默 认图片。
若配置了一组新的图片,则需要下载到本地,在下次启动屏保时用来展示。
功能明确点:
1.屏保check时机:屏保启动
2.新屏保使用时机:屏保启动
3.屏保从云端下载图片后保存路径:
../files/screen...
分类:
移动开发 时间:
2016-04-20 00:41:06
阅读次数:
297
一、BOM 1、window{ document{ anchors forms images links location } frames history location navigator screen } 2、定时器 function execute() { console.info("执行 ...
分类:
其他好文 时间:
2016-04-19 06:16:00
阅读次数:
134
Window 1. doucument frames history location navigator screen | anchors forms location images links 2.命名函数:function funcName() { } 其中,funcName是函数的名称,可以 ...
分类:
其他好文 时间:
2016-04-18 22:33:32
阅读次数:
257
(function(){ var $doc = $(document); var shareHandlers = { 'twitter': function(prop,shareUrl){ var D=550,A=450,C=screen.height,B=screen.width,H=Math.r ...
分类:
Web程序 时间:
2016-04-18 20:26:42
阅读次数:
207
UIView *bgRight=[[UIView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH/2, 0, SCREEN_WIDTH/2, 35)]; bgRight.backgroundColor=[UIColor whiteColor]; [bgView ...
分类:
其他好文 时间:
2016-04-18 13:22:24
阅读次数:
161
screen -S <name> 直接建立并进入<name>窗口 control+a d 暂时退出窗口 (在会话内) screen -r <name> 重新进入<name>会话 exit 关闭会话(在会话内) screen -dmS <name> 新建<name>窗口 但是不自动进入 (脚本使用) ...
分类:
其他好文 时间:
2016-04-18 10:03:05
阅读次数:
132
在BootAnimation開始画图之前,会先做一次clear screen的动作,避免出现前面的图干扰到BootAnimation的显示。 通过check main_log先确认播放开机动画是哪个function。在相应function删除clear screen的动作的相应代码。 /framew ...
分类:
移动开发 时间:
2016-04-18 10:02:22
阅读次数:
197
BOM 1、(*关系图*) window document frames history location navigator screen | anchors forms imgaes links location 2、定时器 (1)、setTimeout(定时执行) -->实现一个函数能够在指定 ...
分类:
其他好文 时间:
2016-04-18 00:42:10
阅读次数:
126