摘要:
Java服务端配置,七牛的安全机制我就不多说了,官方文档写的很清楚https://developer.qiniu.com/kodo/manual/1208/upload-token 如何生成上传凭证: 1、下载官方SDK:https://github.com/qiniu/java-sdk 2、将 s 阅读全文
posted @ 2018-04-12 16:35
wj0920wjx
阅读(288)
评论(0)
推荐(0)
摘要:
-(BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{ if ([textView isFirstResponder]) { if 阅读全文
posted @ 2018-04-12 13:45
wj0920wjx
阅读(572)
评论(0)
推荐(0)
摘要:
正常使用字符替换并不能去除通讯录中获取的电话号码中的空格字符,亲测以下方法可以做到 NSString *cleaned = [[phoneString componentsSeparatedByCharactersInSet:[NSCharacterSet whitespaceCharacterSe 阅读全文
posted @ 2018-04-12 13:41
wj0920wjx
阅读(1346)
评论(0)
推荐(0)
摘要:
UIKeyboardTypeDefault, 默认键盘,支持所有字符 UIKeyboardTypeASCIICapable, 支持ASCII的默认键盘 UIKeyboardTypeNumbersAndPunctuation, 标准电话键盘,支持+*#字符 UIKeyboardTypeURL, URL 阅读全文
posted @ 2018-04-12 13:39
wj0920wjx
阅读(265)
评论(0)
推荐(0)
摘要:
国内 40 多位 iOS 开发博主的博客地址列表:https://github.com/tangqiaoboy/iOSBlogCN 阅读全文
posted @ 2018-04-12 13:39
wj0920wjx
阅读(105)
评论(0)
推荐(0)
摘要:
iOS8开放了安装第三方键盘的权限,在项目开发中,有些情况是需要禁用掉第三方键盘。 比如说,数字键盘上需要自定义按扭,但是在第三方键盘弹出时,按扭就覆盖在这上面了,在这个情况,最好的办法是禁用第三方键盘。 - (BOOL)application:(UIApplication *)applicatio 阅读全文
posted @ 2018-04-12 13:38
wj0920wjx
阅读(260)
评论(0)
推荐(0)
摘要:
+(UIImage *)lineWithImageView:(UIImageView *)imageView{ CGFloat width = imageView.frame.size.width; CGFloat height = imageView.frame.size.height; UIGr 阅读全文
posted @ 2018-04-12 13:35
wj0920wjx
阅读(249)
评论(0)
推荐(0)
浙公网安备 33010602011771号