- 博客(8)
- 资源 (3)
- 收藏
- 关注
原创 无 99 美金证书联机开发
第一步:进入 cd/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/ sudo viSDKSettings.plist,将 CODE_SIGNING_REQUIRED 的值改成 NO. 保存后退出. 第二步:重新启动 XCode 项目. 第三步:右击项目 GetInfo.将 Code S
2014-08-26 17:29:23 500 2
原创 ios url中带中文的解决方案
有两种方法: 一,使用NSString的方法: NSString* string2 = [string1 stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; NSString* string1 = [string2 stringByReplacingPercentEscapesUsingEncoding
2014-07-23 17:23:53 1096
原创 ios url中带中文的解决方案
有两种方法: 一,使用NSString的方法: NSString* string2 = [string1 stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; NSString* string1 = [string2 stringByReplacingPercentEscapesUsingEncoding
2014-07-23 17:21:46 731
原创 plist文件的存取或读写操作
读写 .plist 文件的代码例子 以下代码在Mac和iPhone中均适用。 写入plist文件: NSMutableDictionary* dict = [ [ NSMutableDictionary alloc ] initWithContentsOfFile:@"/Sample.plist" ];[ dict setObject:@"Yes" forKey:@"R
2014-06-30 17:56:18 400
原创 Plist文件的读写操作
读写 .plist 文件的代码例子 以下代码在Mac和iPhone中均适用。 写入plist文件: NSMutableDictionary* dict = [ [ NSMutableDictionary alloc ] initWithContentsOfFile:@"/Sample.plist" ];[ dict setObject:@"Yes" forKey:@"R
2014-06-30 17:54:17 464
原创 IOS plist与沙盒的初步使用
/*/读取plist NSMutableDictionary *dic=[NSMutableDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle]pathForResource:@"TKHttpBaseInfo" ofType:@"plist"]]; NSLog(@"%@",dic); //修改内容 [dic se
2014-06-23 16:36:54 492
原创 IOS 点击输入框外的屏幕空白处隐藏键盘
在iOS开发中,对UITextField进行编辑的时候键盘会自己弹出来。在编辑完成的时候,需要将键盘隐藏掉。隐藏键盘有很多种实现方法,最常见的是把TextField的firstResponder resign掉。即[textField resignFirstResponder]。本文介绍的是如何在键盘显示的时候,点击屏幕除了键盘以外的任何地方,将键盘隐藏。 基本思想如下: 1. 在View
2014-06-05 15:52:58 606
转载 UITableView 部分方法详解
#import @interface ViewController : UIViewControllerUITableViewDataSource,UITableViewDelegate> @property (nonatomic, retain) NSArray *dataList; @property (nonatomic, retain) UITab
2014-05-14 15:11:51 479
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人