- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 iOS 布局有哪些常用的
1.UIViewAutoresizing2.Autolayout上面两个不能共用,都可以用代码去实现3.VLF轻量级可视化格式语言布局4.mastory和SnapKit第三方写出来有时间总结一下
2020-07-31 15:40:32 222
原创 iOS 微信universalLink 配置
最近微信的视频链接分享分享不出去了,跳转到正在链接,后就回来了,最新的微信分享和登录都需要universalLink下面是我自己的理解//第一种方法:自己配置1.universalLink是苹果可以应用第三方之间跳转,可以不设置白名单和schemes,用一下方法可以直接跳到设置了Associated Domains的app里面 NSString *string = @"https://payjiuhongxxx.com/ulink/"; NSURL *url = [NSU...
2020-07-31 15:15:24 1920
原创 iOS Universal Link配置好后,可以直接应用间跳转
NSString *string = @"https://ex.xigge.io/"; NSURL *url = [NSURL URLWithString:string]; [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:^(BOOL success) { }];
2020-07-31 12:09:36 280
原创 iOS KVO
#import "ViewController.h"#import "XMGPerson.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; /* 作用:给对象绑定一个监听器(观察者) Observer:观察者 KeyPath:要监听的属性 ...
2020-07-15 23:50:11 122
原创 iOS KVC 简介
//作用-:利用kvc 赋值 (key value coding)键值编码void test(){ Person *person = [[Person alloc]init]; [person setValue:@"王五" forKey:@"name"]; [person setValue:@"19" forKey:@"money"]; NSLog(@"---%@ ---- %.2f",person.name,person.money);}//作用二...
2020-07-15 23:26:25 181
原创 清理Mac电脑,删除了所有的模拟器文件 Unable to boot device because it cannot be located on disk.
问题:清理Mac电脑,删除了所有的模拟器文件,再次使用模拟器报错:Unable to boot device because it cannot be located on disk.打开终端运行即可解决:xcrun simctl erase all
2020-07-13 20:56:07 534
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人