ios
ImTryCatchException
这个作者很懒,什么都没留下…
展开
-
IOS 多个storyboard 之间的跳转
最近在学习IOS 相关的开发 ,然后想做一下多个 storyboard 的跳转 ,网上 查到的一些 需要设置 storyboard 的 id。然后通过id 实例化 但是我这边实验了一下。总是报错说是找不到 id ,后面我通过 name 获取 跳转是成功的 这里我记录一下。然后关于id 的方式 如果有小伙伴知道什么原因也可以 评论留言 UIStoryboard *table = [UIStoryboard storyboardWithName:@"storyboard的名字" bundle:nil]..原创 2020-08-11 09:59:23 · 264 阅读 · 0 评论 -
Xcode 真机运行 无法安装提示The maximum number of apps for free development profiles has been reached.
今天在xcode 真机调试的时候 发现了一个问题。。The maximum number of apps for free development profiles has been reached. 关于如何真机调试 可以参考https://www.jianshu.com/p/c8db467a05f4网上搜了一下 说是在都说是app应用达到了上限,让删除,可是我根本就没有应用,仍然报这个提示,所以一直没有解决,stackoverflow上看到一个答案:在Macbook上打开控制台应用程序,并.原创 2020-07-27 15:08:58 · 2152 阅读 · 0 评论 -
IOS xib 发现控件为nil 的问题
今天用xib 做了一个控件,准备实在initwidthcoder 中做控件的一些设置 初始化。但是发现获取的控件都为nil ,也是找了老半天 由于 ios 也不是特别熟悉 网上查了很多资料。其实这个问题是由于 xib 再initwidthcoder 中 这些控件都是未唤醒状态 是不能使用的。那么我们要想 初始化一些操作应该在哪里进行呢。- (void)awakeFromNib{ [_label setText:@"哈哈哈"]; [_label setTextColor:[UICo.原创 2020-07-24 17:11:45 · 1047 阅读 · 0 评论 -
Flutter 在Xcode中运行IOS, 遇到的问题(The sandbox is not in sync with the Podfile.lock)
最近遇到了个问题 就是在xcode 中运行flutter 的ios 项目 ,然后发现了个问题就是diff: /../Podfile.lock: No such file or directorydiff: /Manifest.lock: No such file or directoryerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods instal.原创 2020-06-30 14:31:23 · 1790 阅读 · 0 评论 -
Flutter 中使用了plugin 在运行iOS 项目找不到.h 的问题
由于ios 的项目没有接触过,在做flutter的开发过程中,向在xcode 中运行一下看看效果,结果一运行就发现了在GeneratedPluginRegistrant.m 文件中 报错找不到头文件 一开始也是很蒙 因为android 都是自动下载一些依赖 ,而xcode 中需要我们手动执行下载依赖 才可以 。由于webview 使用了与原生的控件 所以 这里进行了pulgin 注册 依赖库 没有下载所以报错了。那么怎么下载依赖库呢 需要安装一个CocoaPods。Coco...原创 2020-06-29 17:30:32 · 4060 阅读 · 0 评论