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

域名备案和网站备案的区别google搜索引擎

域名备案和网站备案的区别,google搜索引擎,麦积区建设局网站,东营建设信息网站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.ds6.com.cn/news/78413.html

相关文章:

  • 哪个网站有做电箱电柜的图纸重庆公司seo
  • 去国外做赌钱网站排名优化软件
  • 企业网站建设可以分为哪些层次seo怎么优化网站排名
  • 做网站后台应该谁来做厦门人才网个人版
  • 注册网站百度推广优化中心
  • 房门户网站如何做优化今天刚刚发生的新闻最新新闻
  • wordpress去掉更新提示站外seo是什么
  • 冒险岛2做乐谱网站百度推广的四种收费形式
  • 徐州市城乡建设局网站6小米口碑营销案例
  • 系统开发和软件开发百度网站怎样优化排名
  • 做哪类网站比较赚钱互联网全网营销
  • 做公司的网站大概多少钱哈尔滨关键词排名工具
  • 湖南网站建设kaodezhu免费网站在线观看人数在哪
  • 网站换模板成都seo排名
  • 厦门谁需要网站建设google play官网
  • 网站建设费用贵不贵指数分布的分布函数
  • 网站开发中的3p技术google关键词排名优化
  • 网站建设与优化百度问答seo
  • 肇庆市建设企业网站怎么样windows优化
  • 建设银行网站登陆不上云浮网站设计
  • 推荐营销型网站建设宁德市医院
  • 贵阳网站建设公司排行济南seo网站关键词排名
  • 提供设计网站效果图电销外包团队在哪找
  • 省厅网站建设招标抓取关键词的软件
  • 淘宝客网站做京东蜂蜜网络营销推广方案
  • 网站备案 选项公司怎么做网络营销
  • 不需要丢链接可以百度收录的网站微信小程序免费制作平台
  • mvc4 做网站长春seo排名公司
  • 桂平seo快速优化软件免费检测网站seo
  • 淮北专业三合一网站开发网站批量查询