- 博客(6)
- 资源 (4)
- 收藏
- 关注
原创 iOS 相机 点击拍照,长按录像
一、项目介绍具体实现原理核心代码我就不详述了,可以参考:https://blog.youkuaiyun.com/qq_24874679/article/details/62886904我在上面项目基础上做了二次开发和优化,文字下面会贴出项目地址。二、使用方法1、必要权限申请Privacy - Camera Usage DescriptionPrivacy - Microphone Usa...
2019-09-06 15:14:45
1985
原创 圆弧进度条 UIBezierPath + CABasicAnimation
@interface DrawProgressView:UIView@property (nonatomic,strong) CAShapeLayer *progressLayer;@property (nonatomic,strong) UIBezierPath *circlePath;@property (nonatomic,assign) CGFloat progress;@end@implementation DrawProgressView#define kAnimation
2020-08-12 11:49:16
267
原创 CLLocationCoordinate2D计算
CLLocationCoordinate2D计算距离当前坐标n米远的新坐标static const CGFloat Ea = 6378137;static const CGFloat Eb = 6356725;/// 计算距离 coordinate distances angle 的 coordinate/// @param coordinate 源coordinate/// @param distance 距离/// @param angle 角度+ (CLLocationCoordinat
2020-08-06 11:50:33
856
原创 字符串完美度
#include int perfect(const char *s){ //每个字符构建很统计个数的结构体 struct letterForS { char letter ; int count; }; struct letterForS ch[26]; for(int i=0
2013-10-11 17:30:51
324
轮播图 demo
2016-06-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅