自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 WKWebView的简单使用-----内存消耗优于UIWebView

#import "ViewController.h"//先引入库文件#import @interface ViewController ()@property (nonatomic,strong) WKWebView *webView;@end@implementation ViewContro

2017-05-25 10:50:08 721

原创 视图圆角设置

设置视图圆角

2017-05-25 10:03:33 291

原创 Xcode比较常用的快捷键

1. 文件command + N: 新文件command + shift + N: 新项目command + O: 打开command + C: 复制command + V: 粘贴command + S: 保存command + option + S: 保存所有文件command + shift + S: 另存为command + shift + W: 关闭文件

2016-06-23 09:17:49 350

原创 app开发->打电话

app开发->打电话

2016-06-16 16:08:19 432

原创 CSS使用

CSS常用属性          div {        font-size: 60px;        background-color: red;        color: blue;        width: 300px;        height: 100px;        border: 2px blue solid;        back

2016-01-19 18:46:40 261

原创 HTML5基本标签的使用

HTML5的常用属性            最大的标题          这里放置一段文本        斜体文字    加重文字    块span          代表大块内容                  HTML      CSS           

2016-01-19 18:44:57 424

原创 封装网络请求工具类

使用范例:[Downloader downloaderWithURLString:@"http://c.3g.163.com/nc/topicset/android/v4/subscribe/news/all.html" method:@"GET" param:nil passValueBlock:^(id data) {                NSLog(@"%@", dat

2016-01-19 18:05:22 337

原创 轮播图封装

在使用的地方调用- (void)bindImageArray:(NSArray *)imageArray;参数为一个存有图片名的数组如果想实现自动轮播调用- (void)setSpeed:(double)timeInterval;参数为两张图片转换的时间间隔(单位:秒)在.h文件中#import @interface CFCircleSlide : UIView//

2016-01-19 17:48:10 499

原创 使用SDWebImage清除图片缓存

使用下面清除缓存的方法需要导入#import "SDImageCache.h"//清除缓存的点击方法- (void)clearBtnClicked:(UIButton *)sender{    NSString *caches = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES

2016-01-19 17:44:35 440

原创 使用webView加载页面,去除页面广告

#import "ViewController.h"@interface ViewController ()@property (nonatomic, strong) UIWebView *webView;@end@implementation ViewController- (void)viewDidLoad {    [super viewDidLo

2016-01-19 17:28:54 2160

原创 UIWebView的使用

#import "RootViewController.h" @interface RootViewController () @property (nonatomic, strong) UIWebView *webview; @end @implementation RootViewController - (void)viewDidLoad {   

2015-12-29 22:11:23 270

原创 ios开发中的小技巧

//程序延迟、闪退、UITextField退出编辑#import "ViewController.h" @interface ViewController () @property (nonatomic, strong) UITextField *tf; @end @implementation ViewController - (void)vi

2015-12-29 22:02:21 249

空空如也

空空如也

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

TA关注的人

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