返回首页
立即注册 登录

Code4App-iOS开发-iOS 开源代码库-iOS代码实例搜索-iOS特效示例-iOS代码例子下载-Code4App.com

结果: 找到 “compass” 相关内容 5 个

iOS 仿系统指南针

wsl2ls上传时间:2017-8-15 14:29
>高仿系统指南针,方向数据是地磁航向数据,有定位地理位置信息和地磁方向信息,可以和系统的指南针对比看一看。 ##一、运行效果 !(http://upload-images.jianshu.io/upload_images/1708447-94d1e9baa4a2f98f.gif?imageMogr2/auto-orient/strip) !(http://upload-images.jianshu.io/upload_images/1708447-fc8b66639ef0290c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ##二、实现过程 ####1.继承于UIView创建一个带刻度标注的视图ScaleView,利用UIBezierPath和CAShapeLayer、UILabel,默认0刻度(北)在最上方。 ``` //化刻度表 - (void)paintingScale{ CGFloat perAngle = M_PI/(90); NSArray *array = @; / ...

快速观测框架 - Snail

小c_c上传时间:2017-3-31 10:19
#项目简介 ###snail !(http://simg0.opendigg.com/6VvQJ3.jpg) ###安装 ###Carthage >brew update brew install carthage >github "UrbanCompass/Snail" "x.x.x" ###Swift Package Manager dependencies: Manually ###将Snail/Snail添加到项目中t ###创建Observables let observable = Observable() 订阅Observables observable.subscribe( onNext: { thing in ... }, // do something with thing onError: { error in ... }, // do something with error onDone: { ... } //do something when it's done ) Closures are optional too... observable.subscribe( onNext: { thing in ... } // do something with thing ...

DHRunning

xiaoxiaohong1上传时间:2016-10-25 12:08
# DHRunning !(https://github.com/DarrenHsu/DHRunning/blob/master/Screen%20Shot/thumb_IMG_4494_1024.jpg?raw=true) !(https://github.com/DarrenHsu/DHRunning/blob/master/Screen%20Shot/thumb_IMG_4495_1024.jpg?raw=true) !(https://github.com/DarrenHsu/DHRunning/blob/master/Screen%20Shot/thumb_IMG_4496_1024.jpg?raw=true) !(https://github.com/DarrenHsu/DHRunning/blob/master/Screen%20Shot/thumb_IMG_4498_1024.jpg?raw=true) !(https://github.com/DarrenHsu/DHRunning/blob/master/Screen%20Shot/thumb_IMG_4497_1024.jpg?raw=true) !(https://github.com/DarrenHsu/DHRunning/blob/master/Screen%20Shot/thumb_IMG_4493_ ...

指南针和水平仪 (SYCompassDemo)

青年攻城狮-孙宇上传时间:2016-6-27 19:05
*compassView

实现指南针功能,屏幕箭头始终指向程序中设定的一个方位

code4app上传时间:2014-5-10 12:02
实现指南针功能,屏幕箭头始终指向程序中设定的一个方位(通过经纬度坐标来设定)。仅能在真机中测试。//创建一个指南针图片 UIImageView *arrowImageView = initWithFrame:CGRectMake(100, 200, 100, 100)]; arrowImageView.image = ; ; geoPointCompass = in |1

编辑推荐

关闭

每日头条

iOS 开发书籍 PDF
新推出板块,iOS 书籍PDF 收集下载,持续更新,赶快来一起学习提高吧~

查看 »

Powered by Discuz! X3.2   © 2001-2013 Comsenz Inc. |广东互联网违法和不良信息举报中心|中国互联网举报中心|Github|申请友链|Code4App ( 粤ICP备15117877号-1 )|