- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 attributesOfItemAtPath获取文件的大小、文件的内容等属性
- (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)errorNS_AVAILABLE(10_5, 2_0); NSDictionary *attributes = [[NSFileManager defaultManager] attributesOfItemAtPath:@"
2014-11-25 18:02:17 4075
原创 ios设置textField的placeholder的字体颜色、大小
代码片段: UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(100, 100, 300, 40)]; textField.placeholder = @"username is in here!"; [textField setValue:[UIColor greenCo
2014-11-25 17:32:41 801
原创 iOS 百度地图 显示指南针问题 sdk2.5.0
if( ([[[UIDevicecurrentDevice] systemVersion]doubleValue]>=7.0)) { self.navigationController.navigationBar.translucent = NO; }
2014-11-23 11:29:25 2343
原创 ZXing导入出错,如何导入,Undefined symbols for architecture i386或者armv7问题
ZXing导入出错,Undefined symbols for architecture i386或者armv7问题 Undefinedsymbols for architecture i386:“_OBJC_CLASS_$_XXX”, referencedfrom:objc-class-ref in XXXld: symbol(s)not found for architect
2014-11-20 18:13:47 1024
原创 The operation couldn’t be completed. (OSStatus error -67028.) Xcode打包出错
Organizer - Archives对话框底下的列表,右击第一项选择show in finder,右击.xcarchive文件选择“显示包内容”,打开文件夹Products ->Applications,然后把.app这个文件拖到iTunes中的本地应用程序中,然后右击iTunes中的这个程序,show in finder, 会看到一个.ipa文件这样生成的ipa包,能安装正常吗
2014-11-18 17:20:03 1977
原创 Reachability 网络连接
Reachability.h#import #import #import 所以如果我们在项目中需要用到此类的话,需要引入SystemConfiguration.framework。此类在ios网络开发中可以确认判断网络环境,连接情况(无网络连接,3G,WIFI,GPRS)enum { // DDG NetworkStatus Const
2014-11-13 14:35:14 510
转载 ios应用内跳转到appstore里评分
原文地址:ios应用内跳转到appstore里评分作者:天风在ios6.0前跳转到appstore评分一般是直接跳转到appstore评分NSString *evaluateString = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsU
2014-11-12 15:31:58 581
转载 使用UIDataDetectorTypes将电话,网址,邮件变为链接。
(2012-03-12 11:19:28)转载▼标签: ios ui textview webview 电话 网址 电子邮件 日期 it分类: [iPhone开发]UIDataDetectorTypes用于UITex
2014-11-12 14:26:57 1007
原创 矛点 CGPoint anchorPoint
//矛点 CGPoint anchorPoint 定义层的边界,矩形的锚点点上坐标归一化层——“(0,0)的左下角边界矩形(1,1)的右上角。默认为’(0.5,0.5)”,即Animatable边界矩形的中心。
2014-11-05 15:29:56 566
转载 UITouch 触摸、
/* Defines the anchor point of the layer's bounds rect, as a point in * normalized layer coordinates - '(0, 0)' is the bottom left corner of * the bounds rect, '(1, 1)' is the top right corner
2014-11-05 14:47:38 492
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人