会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YuFly
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
下一页
2017年8月14日
ios_ipv6被拒问题【转】
摘要: App Store 审核 IPv6 问题 应用提交了N次,每次被拒都是说IPv6的事情,花点功夫把这个事情搞清楚。 苹果审核人员回复的原因都差不多,说在他们的IPv6-Only的环境中测试应用,无法正常请求我们的服务器。 因为我们的域名确实没有对应的AAAA记录,所以这里有两个环节可能出问题,一个是
阅读全文
posted @ 2017-08-14 14:17 YuFly
阅读(182)
评论(0)
推荐(0)
2017年4月28日
[转发]UITextField设置大全
摘要: //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //设置边框样式,只有设置了才会显示边框样式 text.borderStyle = U
阅读全文
posted @ 2017-04-28 16:32 YuFly
阅读(182)
评论(0)
推荐(0)
2016年12月8日
iOS—仿微信单击放大图片
摘要: // // 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)
2016年11月28日
图片不失真压缩
摘要: //对图片尺寸进行压缩 -(UIImage *)compressOriginalImage:(UIImage *)image toSize:(CGSize)size{ UIGraphicsBeginImageContext(size); [image drawInRect:CGRectMake(0,
阅读全文
posted @ 2016-11-28 17:08 YuFly
阅读(388)
评论(0)
推荐(0)
2016年11月24日
imageView加载gif图
摘要: NSURL *fileUrl = [[NSBundle mainBundle] URLForResource:@"1" withExtension:@"gif"]; CGImageSourceRef gifSource = CGImageSourceCreateWithURL((CFURLRef)f
阅读全文
posted @ 2016-11-24 15:22 YuFly
阅读(1120)
评论(0)
推荐(0)
2016年11月14日
UIWebView自定义user agent
摘要: #import "WebViewController.h" @interface WebViewController ()<UIWebViewDelegate> @end @implementation WebViewController - (id)initWithNibName:(NSStrin
阅读全文
posted @ 2016-11-14 10:42 YuFly
阅读(368)
评论(0)
推荐(0)
2016年10月9日
集成阿里百川时遇到的问题
摘要: 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)
2016年9月7日
随笔记录
摘要: 1.NSString [a hasPrefix: ] [a hasSuffix:] 判断开头和结束是否包含.... 2.数组排序(对象属性) NSArray *emparray=[empArr sortedArrayUsingComparator:^NSComparisonResult(TXLInf
阅读全文
posted @ 2016-09-07 10:36 YuFly
阅读(182)
评论(0)
推荐(0)
2016年9月6日
遇到的一些奇葩问题
摘要: 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)
2016年9月2日
iOS LaunchImage尺寸选择和icon尺寸需求
摘要: 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)
上一页
1
2
3
下一页
公告