会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
frounk
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
9
下一页
2022年11月3日
iOS实现App之间的分享
摘要: 转自:https://www.jianshu.com/p/95f965658ffe 我们在iOS平台上想要实现不同App之间的内容分享一般有几种常用方式: 给每个App定义一个URL Scheme,通过访问指定了URL Scheme的一个URL,实现直接访问一个APP; 通过UIDocumentIn
阅读全文
posted @ 2022-11-03 10:47 frounk
阅读(2802)
评论(0)
推荐(0)
2022年11月1日
适配iOS16横竖屏切换问题。
摘要: //Button点击全屏,强制横屏-(void)fullScreenAction{ if (@available(iOS 16, *)) { _landscape = YES; [self setNeedsUpdateOfSupportedInterfaceOrientations]; }}- (U
阅读全文
posted @ 2022-11-01 17:41 frounk
阅读(975)
评论(0)
推荐(0)
2022年10月31日
开启iTunes访问文件权限,读取Documents本地txt文件
摘要: 一、开启iTunes访问沙盒文件夹权限 在 Info.plist 文件中添加UIFileSharingEnabled这个Key, 并设置该值为 YES 即可在填写完 UIFileSharingEnabled并回车后, 发现会自动更正为Application supports iTunes file
阅读全文
posted @ 2022-10-31 18:02 frounk
阅读(377)
评论(0)
推荐(0)
2021年4月26日
iOS后台收不到 AFN提交的Array
摘要: 上传的参数格式 修改方法如下 找到AFNetWorking 下的AFURLRequestSerialization.m文件然后再找到AFQueryStringPairsFromKeyAndValue方法会看到下图这句话 NSArray *array = value; for (id nestedVa
阅读全文
posted @ 2021-04-26 13:40 frounk
阅读(161)
评论(0)
推荐(0)
2021年4月21日
文件缓存预览查看
摘要: #import <QuickLook/QuickLook.h> @interface VC()<QLPreviewControllerDataSource,QLPreviewControllerDelegate> @property (nonatomic,strong)NSURL *fileURL;
阅读全文
posted @ 2021-04-21 18:43 frounk
阅读(115)
评论(0)
推荐(0)
UIDocumentPickerViewController 选文件
摘要: <UIDocumentPickerDelegate> @property (nonatomic, strong) UIDocumentPickerViewController *documentPickerVC; /** 初始化 UIDocumentPickerViewController 选文件啊
阅读全文
posted @ 2021-04-21 18:39 frounk
阅读(1909)
评论(0)
推荐(0)
2021年4月12日
scrollview 加百度地图 手势冲突解决办法
摘要: ****解决方法****: 使用UIGestureRecognizerDelegate 代理方法 给scrollview 添加一个手势 UIGestureRecognizer *gestur = [[UIGestureRecognizer alloc]init]; gestur.delegate=s
阅读全文
posted @ 2021-04-12 13:20 frounk
阅读(129)
评论(0)
推荐(0)
2020年7月16日
xcode11新项目删除main.storyboard
摘要: https://www.jianshu.com/p/e255303d11b8
阅读全文
posted @ 2020-07-16 17:44 frounk
阅读(234)
评论(0)
推荐(0)
2020年2月29日
iOS airPlay投屏电视实现
摘要: - (MPVolumeView *)airPlayBtn { if (!_airPlayBtn) { CGFloat w = 32; _airPlayBtn=[[MPVolumeView alloc] initWithFrame:CGRectMake(20, 20, w, w)]; [_airPla
阅读全文
posted @ 2020-02-29 17:06 frounk
阅读(1100)
评论(0)
推荐(0)
2020年1月13日
iOS使用UIViewControllerAnimatedTransitioning自定义presentViewController动画
摘要: 原文转自 https://www.jianshu.com/p/f4293785f1d5 UIViewControllerAnimatedTransitioning是iOS系统提供的转场动画协议,遵循该协议可自定义转场动画。 系统模态一个控制器时提供了模态风格的属性 模态风格属性 模态风格属性 模态风
阅读全文
posted @ 2020-01-13 11:47 frounk
阅读(2209)
评论(0)
推荐(0)
1
2
3
4
5
···
9
下一页
公告