自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (12)
  • 问答 (1)
  • 收藏
  • 关注

原创 ios 录屏

////  ViewController.m//  YXYChartLine////  Created by aojinrui on 2017/7/28.//  Copyright © 2017年 aojinrui. All rights reserved.//#import "ViewController.h"

2017-07-31 09:45:40 644

原创 贝塞尔画线

UIBezierPath *path = [UIBezierPath bezierPathWithOvalInRect:CGRectMake(10, 30, 60, 60)];  [[UIColor redColor] setStroke];  [[UIColor blueColor] setFill];  path.lineWidth = 2;  [path stroke];  

2017-07-28 10:30:31 200

原创 画线

- (void)drawRect:(CGRect)rect{    //绘制拉伸线路        NSLog(@"========");    //    CGContextRef context =UIGraphicsGetCurrentContext();//    //    CGContextMoveToPoint(context,

2017-07-28 10:29:21 155

原创 获取手机型号

- (NSString *)iphoneType {需要导入头文件:#import struct utsname systemInfo;uname(&systemInfo);NSString *platform = [NSString stringWithCString:systemInfo.machine encoding:NSASCIIStringEncoding];if

2017-07-07 11:14:44 445

原创 编译ffmpge

第 1 步1、下载FFmpeg最新版本:http://ffmpeg.org/download.html#build-mac2、下载gas-preprocessor.pl:https://github.com/libav/gas-preprocessor3、下载yasm最新版本:http://www.tortall.net/projects/yasm/releases/ 

2017-07-07 11:11:26 222

原创 ios 硬解码h264

#import #import #import #import @protocol H264HwDecoderImplDelegate NSObject>- (void)displayDecodedFrame:(CVImageBufferRef )imageBuffer;@end

2017-07-07 11:04:57 1851

原创 xib设置宽高相等

在xib中先设置宽的长度,然后在view右键拖拽连线到aspect ratio ,然后设置宽和高的比列是1:1;

2017-07-07 10:39:05 7784

swift和oc图片破碎效果

图片爆炸效果swift

2017-08-15

swift各种语法实例

swift语法

2017-08-07

数据库fmdb

数据库

2017-08-06

fmdb数据库封装

fmdb数据库封装

2017-08-04

iOS7searchbar

search

2017-02-21

uisearchBar

search bar

2017-02-21

image的操作

对image的各种处理

2016-09-14

设置UIButton文本和图片位置

两种方法设置UIButton文本和图片位置

2016-09-14

访qq侧滑栏

定义一个侧滑栏

2016-08-23

弹出框警告框

定义警告框,标题,内容,按钮的字体,大小,颜色,图片

2016-08-23

圆形进度条

圆形进度条

2016-08-09

自定义UISegmentedControl控件

自定义UISegmentedControl空间

2016-08-09

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除