1.UI搭建 直接开发,你会发现Apple Watch并不支持AutoLayout,WatchKit里有个类叫做WKInterfaceGroup,乍一看像是UIView,但是这货其实是用来布局的。从 Storyboard中拉一个WKInterfaceGroup出来,在属性检查器(Attribute....
分类:
移动平台 时间:
2015-12-01 12:52:30
收藏:
0 评论:
0 赞:
0 阅读:
356
这个过程有三步:1)许可向你的应用程序的manifest中添加读取通讯录数据的许可 2)调用Contact Picker在你的activity中,创建一个Intent,用来请求系统查找一个能够执行一个从Contacts URI的项目中发出的PICK动作的activity,Intent intent....
分类:
移动平台 时间:
2015-12-01 12:52:20
收藏:
0 评论:
0 赞:
0 阅读:
298
package com.example.zuobiao;import java.util.List;import android.location.Location;import android.location.LocationListener;import android.location.Lo...
分类:
移动平台 时间:
2015-12-01 12:51:50
收藏:
0 评论:
0 赞:
0 阅读:
283
在使用代理的时候, BViewController *BVC = [[BViewController alloc]init]; self.delegate = BVC;出现这样的警告Assigning to 'id' from incompatible type 'BViewContro...
分类:
移动平台 时间:
2015-12-01 12:50:50
收藏:
0 评论:
0 赞:
0 阅读:
357
调整,Settings->IDE Settings->Editor->Appearance->Show line numbers 显示代码行数Settings->IDE Settings->Editor->Show quick doc on mouse move 悬浮显示docKeymap->Mai...
分类:
移动平台 时间:
2015-12-01 12:49:40
收藏:
0 评论:
0 赞:
0 阅读:
382
一、开发须知 如果你没有开发过 iphone,直接来做watch,我建议你不要这么做,不是不可以,而是目前所有的第三方应用都必须基于iphone的扩展,原生的watch应用,苹果目前还没有开放给开发者,因此实际上,我们在watch上可以做的事情十分有限,或许后续apple会开放更多接口,但是目前,....
分类:
移动平台 时间:
2015-12-01 12:43:01
收藏:
0 评论:
0 赞:
0 阅读:
254
reference : http://m.blog.csdn.net/blog/langzxz/45308199reference : http://blog.csdn.net/hyhyl1990/article/details/46842915Android原生是有应用程序权限管理的,即是AppO...
分类:
移动平台 时间:
2015-12-01 12:42:50
收藏:
0 评论:
0 赞:
0 阅读:
663
DescriptionWhen Xellos was doing a practice course in university, he once had to measure the intensity of an effect that slowly approached equilibrium...
分类:
移动平台 时间:
2015-12-01 12:41:30
收藏:
0 评论:
0 赞:
0 阅读:
302
GestureDetector一般我们会用ontouch来接收屏幕上的触摸事件,但是没办法接收滑动事件,我们可以通过这个GestureDetector来进行手势识别首先呢要把ontouch的事件交给GestureDetector // 手势来接管ontouch @Override public .....
分类:
移动平台 时间:
2015-12-01 12:38:20
收藏:
0 评论:
0 赞:
0 阅读:
312
在软件开发过程中,我们常常需要在某个时间后执行某个方法,或者是按照某个周期一直执行某个方法。在这个时候,我们就需要用到定时器。然而,在iOS中有很多方法完成以上的任务,到底有多少种方法呢?经过查阅资料,大概有三种方法:NSTimer、CADisplayLink、GCD。接下来我就一一介绍它们的用法。...
分类:
移动平台 时间:
2015-12-01 12:37:20
收藏:
0 评论:
0 赞:
0 阅读:
324
Hi If you don't want to go for hard code all of this stuff , then go for below easy steps->Your project ->Your Module ->Right click on your module ...
分类:
移动平台 时间:
2015-12-01 12:37:10
收藏:
0 评论:
0 赞:
0 阅读:
571
package com.example.yanlei.yl;import android.graphics.Color;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import an...
分类:
移动平台 时间:
2015-12-01 12:31:21
收藏:
0 评论:
0 赞:
0 阅读:
363
在移动端编写input输入框时候,为了输入文字与输入框垂直居中,一般情况下,会将input的line-height的高度等于height。但在移动端输入的时候会发现,虽然输入内容确实是垂直居中了,但是光标的位置是靠上的,导致感官上的不美观。于是对input设置的时候,首先确定字体的大小如font-s...
分类:
移动平台 时间:
2015-12-01 12:24:30
收藏:
0 评论:
0 赞:
1 阅读:
2637
1.在Eclipse中直接打开sqlite查看数据的插件http://www.coderzheaven.com/2011/04/18/sqlitemanager-plugin-for-eclipse/2.在线制作Buttonhttp://angrytools.com/android/button/3...
分类:
移动平台 时间:
2015-12-01 12:23:30
收藏:
0 评论:
0 赞:
0 阅读:
313
1.光盘镜像需要下载懒人安装版,后缀是.cdr2.虚拟机用VMware12或11都行,很多地方有下载3.设置好光盘,启动虚拟机时,如果弹出错误“不可恢复错误:(vcpu-0)”那么,只要找到并打开安装目录下的 XXXX.vmx 文件,使用记事本打开后,在 smc.present = "TRUE" 后...
分类:
移动平台 时间:
2015-12-01 12:20:00
收藏:
0 评论:
0 赞:
0 阅读:
239
1> 个人博客:技术大牛唐巧:http://blog.devtang.com/blog/archives/王巍:http://www.onevcat.com破船之家:http://beyondvincent.com池建强:http://www.cnblogs.com/chijianqiang/2> ...
分类:
移动平台 时间:
2015-12-01 12:17:50
收藏:
0 评论:
0 赞:
0 阅读:
249
call 方法调用一个对象的一个方法,以另一个对象替换当前对象。call([thisObj[,arg1[, arg2[, [,.argN]]]]])参数thisObj可选项。将被用作当前对象的对象。arg1, arg2,, argN可选项。将被传递方法参数序列。说明call 方法可以用来代替另一个对...
分类:
移动平台 时间:
2015-12-01 12:17:31
收藏:
0 评论:
0 赞:
0 阅读:
230