会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huangyan1022
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
下一页
2017年8月28日
设备的唯一码
摘要: 第三方库 SAMKeychain IDFV:Vendor标示符 也被称为厂商标识符。只要用户设备中没有卸载当前Vendor的所以App ,则不会发生变化。什么是Vendor 可以理解成bundleID的前两部分,例如对于com.job.app_1和com.job.app_2这两个bundleID来说
阅读全文
posted @ 2017-08-28 15:16 huangyan1022
阅读(370)
评论(0)
推荐(0)
2017年7月11日
总结
摘要: 1、设置UILabel行间距 1 2 3 4 5 NSMutableAttributedString* attrString = [[NSMutableAttributedString alloc] initWithString:label.text]; NSMutableParagraphStyl
阅读全文
posted @ 2017-07-11 09:38 huangyan1022
阅读(182)
评论(0)
推荐(0)
2017年7月3日
别人的总结
摘要: 总结了几个月的东西终于能和大家分享了,不多说,直接看东西! 1、禁止手机睡眠 1 [UIApplication sharedApplication].idleTimerDisabled = YES; 1 [UIApplication sharedApplication].idleTimerDisab
阅读全文
posted @ 2017-07-03 15:21 huangyan1022
阅读(94)
评论(0)
推荐(0)
2017年6月26日
ios开发一些基本按键
摘要: 1、禁止手机睡眠 1 [UIApplication sharedApplication].idleTimerDisabled = YES; 1 [UIApplication sharedApplication].idleTimerDisabled = YES; 1 [UIApplication sh
阅读全文
posted @ 2017-06-26 17:25 huangyan1022
阅读(153)
评论(0)
推荐(0)
2017年6月7日
wifi
摘要: 在最近做的一个Wi-Fi类的项目,需要实现类似万能钥匙中点击一个Wi-Fi跳转到系统Wi-Fi设置界面的功能。废话我就不多说了,下面就是实现代码了。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 NSString * urlString = @"App-Prefs:root
阅读全文
posted @ 2017-06-07 09:53 huangyan1022
阅读(175)
评论(0)
推荐(0)
2017年6月1日
毛玻璃
摘要: 但是其 iOS7.0 的 SDK 并没有提供给开发者实现毛玻璃效果的 API ,所以很多人都是通过一些别人封装的框架来实现,后面我也会讲到一个。 其实在 iOS7.0 之前还是有系统的类可以实现毛玻璃效果的,就是 UIToolbar 这个类,并且使用相当简单,几行代码就可以搞定。 下面是代码实现:
阅读全文
posted @ 2017-06-01 09:59 huangyan1022
阅读(368)
评论(0)
推荐(0)
2017年5月27日
Fmdb 存储照片
摘要: 网上说的方法 NSString *doc = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject]; NSString *filename = [doc stringB
阅读全文
posted @ 2017-05-27 17:04 huangyan1022
阅读(530)
评论(0)
推荐(0)
whatsapp
摘要: //文字分享 NSString *msg = @"您好"; NSString *url = [NSString stringWithFormat:@"whatsapp://send?text=%@", [msg stringByAddingPercentEncodingWithAllowedChar
阅读全文
posted @ 2017-05-27 10:30 huangyan1022
阅读(743)
评论(-2)
推荐(0)
string代替
摘要: NSString * t = @"EMMS_Files\\Business\\WORRF\\TXT\\20170403\\5379774001.pdf"; NSString * a = [t stringByReplacingOccurrencesOfString:@".pdf" withStrin
阅读全文
posted @ 2017-05-27 10:28 huangyan1022
阅读(192)
评论(0)
推荐(0)
2017年5月23日
swift闭包传值 简单的传值
摘要: class ViewController: UIViewController { //声明一个控制器 let viControl = ggViewController() override func viewDidLoad() { super.viewDidLoad() // let intestt
阅读全文
posted @ 2017-05-23 16:40 huangyan1022
阅读(1216)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告