parkman
V2EX  ›  iDev

NIKE+ overlay 在mapview记录运行轨迹的线条Gradient效果怎么做?

By parkman at 2013 年 11 月 28 日 · 3659 次点击
3 条回复  •  1970-01-01 08:00:00 +08:00
txx
   1
txx  
   2013 年 11 月 28 日
如果让你绘制一个多色渐变的矩形,你绘的出来么?先去写个demo 理解下 CG的渐变绘制方式嘛
parkman
   2
parkman  
OP
   2013 年 11 月 29 日
@txx 写的出来啊,关键在 view :addovelay 里面怎么构造线条颜色了
parkman
   3
parkman  
OP
   2013 年 11 月 29 日
@txx 能写详细点不,根据speed 来算。
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
© 2026 V2EX · 29ms · 3.9.8.5