当前位置: 首页 > news >正文

单县网站建设seo文章优化技巧

单县网站建设,seo文章优化技巧,做没用的网站,由音乐学院做的网站1、iOS 17 真机调试问题 iOS 17之后,真机调试Beta版本必须使用Beta版本的Xcode来调试,用以前复制DeviceSupport 方式无法调试,新的Beta版本Xcode中,已经不包含 iOS 17目录。如下图: 解决方案: 1&#x…

1、iOS 17 真机调试问题

iOS 17之后,真机调试Beta版本必须使用Beta版本的Xcode来调试,用以前复制DeviceSupport 方式无法调试,新的Beta版本Xcode中,已经不包含 iOS 17目录。如下图:
在这里插入图片描述
解决方案:
在这里插入图片描述

1)下载最新的Beta 版本Xcode 15
2)运行命令defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled
此时旧版本Xcode 将会出现一个 CoreDevice ,这时候就可以继续Debug调试了

在这里插入图片描述

2、Xcode 15 Beta版本运行项目报错

运行旧版本项目编译报以下错误
Showing All Messages Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3248.
在这里插入图片描述

解决:Build Settings -> Other Linker Flags 中添加 -ld64

在这里插入图片描述

3、UIGraphicsBeginImageContextWithOptions 方法崩溃(Crash)

*** Assertion failure in void _UIGraphicsBeginImageContextWithOptions(CGSize, BOOL, CGFloat, BOOL)(), UIGraphics.m:410
在这里插入图片描述
解决方案:将下面代码替换

UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.opaque, self.contentsScale);CGContextRef context = UIGraphicsGetCurrentContext();if (self.opaque) {CGSize size = self.bounds.size;size.width *= self.contentsScale;size.height *= self.contentsScale;CGContextSaveGState(context); {if (!self.backgroundColor || CGColorGetAlpha(self.backgroundColor) < 1) {CGContextSetFillColorWithColor(context, [UIColor whiteColor].CGColor);CGContextAddRect(context, CGRectMake(0, 0, size.width, size.height));CGContextFillPath(context);}if (self.backgroundColor) {CGContextSetFillColorWithColor(context, self.backgroundColor);CGContextAddRect(context, CGRectMake(0, 0, size.width, size.height));CGContextFillPath(context);}} CGContextRestoreGState(context);}task.display(context, self.bounds.size, ^{return NO;});UIImage *image = UIGraphicsGetImageFromCurrentImageContext();UIGraphicsEndImageContext();self.contents = (__bridge id)(image.CGImage);

替换为:

UIGraphicsImageRendererFormat *format = [[UIGraphicsImageRendererFormat alloc] init];format.opaque = self.opaque;format.scale = self.contentsScale;UIGraphicsImageRenderer *renderer = [[UIGraphicsImageRenderer alloc] initWithSize:self.bounds.size format:format];UIImage *image = [renderer imageWithActions:^(UIGraphicsImageRendererContext * _Nonnull rendererContext) {CGContextRef context = rendererContext.CGContext;if (self.opaque) {CGSize size = self.bounds.size;size.width *= self.contentsScale;size.height *= self.contentsScale;CGContextSaveGState(context); {if (!self.backgroundColor || CGColorGetAlpha(self.backgroundColor) < 1) {CGContextSetFillColorWithColor(context, [UIColor whiteColor].CGColor);CGContextAddRect(context, CGRectMake(0, 0, size.width, size.height));CGContextFillPath(context);}if (self.backgroundColor) {CGContextSetFillColorWithColor(context, self.backgroundColor);CGContextAddRect(context, CGRectMake(0, 0, size.width, size.height));CGContextFillPath(context);}} CGContextRestoreGState(context);}task.display(context, self.bounds.size, ^{return NO;});}];self.contents = (__bridge id)(image.CGImage);
http://www.mmbaike.com/news/70545.html

相关文章:

  • 企业网站网页布局网络平台怎么创建需要多少钱
  • 淘宝做基础销量网站广东省各城市疫情搜索高峰进度
  • 房产网站怎么做网站优化seo培训
  • 天猫网站设计特点网络技术培训
  • 乐清 做网站 多少钱可口可乐网络营销案例
  • 做淘宝差不多的网站吗友链
  • 商城网站设计定制产品全网营销推广
  • 公司让我做网站负责人企业网站seo推广方案
  • 怎么做婚恋网站重庆百度推广
  • 网站换关键词网站ip查询站长工具
  • 厦门市app开发网站建设公司百度推广代理公司广州
  • wordpress中文翻译插件百度词条优化工作
  • 怎样做公司网站banner服务之家网站推广公司
  • 无锡企业网站建设新型营销方式
  • 96个html静态网站模板打包网络营销推广渠道
  • 合肥哪家网站公司好谷歌推广怎么做最有效
  • 上海公司牌照成交价格表2021seopc流量排行榜企业
  • 手机网站定制方案外贸网站如何推广优化
  • 巩义网站建设域名注册网站系统
  • 青岛公司建网站公司搜索引擎查重
  • 网站开发进度安排网络推广发帖网站
  • 武汉seo搜索优化上海关键词优化外包
  • b2b网站代表有哪些线上网络推广怎么做
  • 网站维护描述手机百度免费下载
  • 做网站发现是传销seo文章排名优化
  • 电子商务做什么的优化大师电脑版官方免费下载
  • 手机商城网站设计免费技能培训在哪里报名
  • 网站报价内容天津债务优化公司
  • 做视频给网站到流量深圳品牌策划公司
  • 网站建设模板个人b站推广引流最佳方法