上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页

2015年6月16日

IOS UIScrollView中 使用 touch 无法响应的问题

摘要: 添加一个 Category 然后在使用到 UIScrollView 的文件里面 导入这个头文件 就可以//// UIScrollView+UITouch.m// alarm//// Created by zhuang chaoxiao on 15-6-16.// Copyright (c) 2015... 阅读全文

posted @ 2015-06-16 10:38 景树园 阅读(282) 评论(0) 推荐(0)

2015年6月3日

判断是否有相册、相机 权限

摘要: 需要先导入头文件#import ALAuthorizationStatus author = [ALAssetsLibrary authorizationStatus]; if( author == ALAuthorizationStatusRestricted || author == ALAu... 阅读全文

posted @ 2015-06-03 23:29 景树园 阅读(245) 评论(0) 推荐(0)

2015年6月2日

IOS 给图片添加水印 打印文字

摘要: 1.加文字-(UIImage *)addText:(UIImage *)img text:(NSString *)text1{ //get image width and height int w = img.size.width; int h = img.size.height; CGColorS... 阅读全文

posted @ 2015-06-02 20:37 景树园 阅读(244) 评论(0) 推荐(0)

2015年5月31日

SQL 语句记录

摘要: 1.创建一个table@"create table rockTB(myId integer primary key autoincrement not null, time varchar(128) , body varchar(1024))"];2.查询FMResultSet * result =... 阅读全文

posted @ 2015-05-31 19:26 景树园 阅读(136) 评论(0) 推荐(0)

IOS 屏幕截图 UIScrollview

摘要: //截图UIView:截全图-(UIImage*)captureView:(UIView *)theView{ CGRect rect = theView.frame; if ([theView isKindOfClass:[UIScrollView class]]) { ... 阅读全文

posted @ 2015-05-31 17:45 景树园 阅读(1122) 评论(0) 推荐(0)

2015年5月27日

IOS 支付宝 SDK 申请

摘要: https://b.alipay.com/order/productDetail.htm?productId=2013080604609654&tabId=4#ps-tabinfo-hash 阅读全文

posted @ 2015-05-27 15:17 景树园 阅读(142) 评论(0) 推荐(0)

2015年5月25日

XCode修改工程名注意

摘要: 以下文字转载过来,在使用的过程中遇到几个问题1.需要在 Build phases 里面,检查下 Link Binary With Libraries 以及Compline Sources2.Bulid Settings 里面的 Header Search Paths 以及 Library Searc... 阅读全文

posted @ 2015-05-25 22:24 景树园 阅读(273) 评论(0) 推荐(0)

2015年5月21日

ASIHTTPREQUEST 文档

摘要: http://blog.csdn.net/ysysbaobei/article/details/17026577Please note that I am no longer working on this library - you may want to consider using somet... 阅读全文

posted @ 2015-05-21 16:08 景树园 阅读(187) 评论(0) 推荐(0)

2015年5月20日

本地通知

摘要: didReceiveLocalNotification在两种情况下会被调用:1.app在前台运行 2.app在后台运行时系统弹出提示,点击这个提示启动app。 阅读全文

posted @ 2015-05-20 16:41 景树园 阅读(109) 评论(0) 推荐(0)

2015年5月13日

ASIHttpRequest 使用过程中,中文编码的问题

摘要: 遇到过几个中文编码的情况,不知道是服务器原因还是本身方法上有区别 ,今天遇到的问题是使用1的方法行不通,但是使用2的方法就可以。1. NSString *urlString= [NSString stringWithFormat:@"%@a=login&username=%@&password=%@... 阅读全文

posted @ 2015-05-13 13:05 景树园 阅读(115) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页

导航