摘要: App Store 审核 IPv6 问题 应用提交了N次,每次被拒都是说IPv6的事情,花点功夫把这个事情搞清楚。 苹果审核人员回复的原因都差不多,说在他们的IPv6-Only的环境中测试应用,无法正常请求我们的服务器。 因为我们的域名确实没有对应的AAAA记录,所以这里有两个环节可能出问题,一个是 阅读全文
posted @ 2017-08-14 14:17 YuFly 阅读(182) 评论(0) 推荐(0)
摘要: //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才会显示边框样式 text.borderStyle = U 阅读全文
posted @ 2017-04-28 16:32 YuFly 阅读(182) 评论(0) 推荐(0)
摘要: // // ImageZoomView.h // 手势缩放图片 // // Created by strong on 16/4/7. // Copyright © 2016年 LYX. All rights reserved. // #import @interface ImageZoomView : UIView - (instancetype)initWithFrame:(CG... 阅读全文
posted @ 2016-12-08 19:33 YuFly 阅读(2107) 评论(0) 推荐(0)
摘要: //对图片尺寸进行压缩 -(UIImage *)compressOriginalImage:(UIImage *)image toSize:(CGSize)size{ UIGraphicsBeginImageContext(size); [image drawInRect:CGRectMake(0, 阅读全文
posted @ 2016-11-28 17:08 YuFly 阅读(388) 评论(0) 推荐(0)
摘要: NSURL *fileUrl = [[NSBundle mainBundle] URLForResource:@"1" withExtension:@"gif"]; CGImageSourceRef gifSource = CGImageSourceCreateWithURL((CFURLRef)f 阅读全文
posted @ 2016-11-24 15:22 YuFly 阅读(1120) 评论(0) 推荐(0)
摘要: #import "WebViewController.h" @interface WebViewController ()<UIWebViewDelegate> @end @implementation WebViewController - (id)initWithNibName:(NSStrin 阅读全文
posted @ 2016-11-14 10:42 YuFly 阅读(368) 评论(0) 推荐(0)
摘要: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_CMMotionManager", referenced from: objc-class-ref in SGMain(SGMain99999999.o) "_res_9_ninit", 阅读全文
posted @ 2016-10-09 10:02 YuFly 阅读(2995) 评论(0) 推荐(0)
摘要: 1.NSString [a hasPrefix: ] [a hasSuffix:] 判断开头和结束是否包含.... 2.数组排序(对象属性) NSArray *emparray=[empArr sortedArrayUsingComparator:^NSComparisonResult(TXLInf 阅读全文
posted @ 2016-09-07 10:36 YuFly 阅读(182) 评论(0) 推荐(0)
摘要: 1.字符串直接赋值在block中不能用 lHtml1=[NSString stringWithFormat:@"【%@】%@:\n%@",self.appNameString,self.titleLabel.text,self.urlString]; 要给其分配地址才行 lHtml1 = [[NSS 阅读全文
posted @ 2016-09-06 10:34 YuFly 阅读(163) 评论(0) 推荐(0)
摘要: Icon尺寸 58*58、87*87、80*80、120*120、180*180、1024*1024(AppStore需要),这些icon不要圆角 AppStore 截图尺寸 iPhone: iphone4 : 640x960 或者 960x640 phone5 640 x 1136或者1136 x 阅读全文
posted @ 2016-09-02 10:07 YuFly 阅读(352) 评论(0) 推荐(0)