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

做的比较好的电商网站做网站如何分类产品

做的比较好的电商网站,做网站如何分类产品,深圳企业做网站公司,软件开发成本估算表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.yayakq.cn/news/508557/

相关文章:

  • 品牌网站建设网站网址最新连接查询
  • 菜鸟怎么做网站协和医院网站建设目标
  • 手机导航网站模板wordpress页面下
  • 网站做友链有行业要求吗标准型网站建设
  • 购物网站做兼职WordPress的分類顯示插件
  • 网站建设微信公众号小程序制作怎么在网络上做推广
  • 网站建设 工单西部数据网站管理助手
  • 网站首页广告图片伸缩代码又关闭安徽住房建设厅官网信息查询
  • 需要做网站的企业资源NextApp wordpress
  • 网站建设工作室 杭州网站建设公司一站通系统简单
  • 怎么建手机网站平台织梦网站怎么做seo
  • 工厂的网站在哪里做的商贸公司网站建设方案
  • 快速搭建网站视频手机网站切图
  • 互联网传媒 网站无锡网站的建设
  • 青岛正规公司网站建设公司株洲网站建设公司
  • 亚马逊中国网站建设目标永兴城乡住房建设部网站
  • ps网站子页怎么做的网站开发毕业设计摘要范文
  • 四川网站建设电话咨询输入网址一键生成app
  • 苏州专业建设网站cms仿站
  • e4a做网站软件我的小程序入口
  • 推荐一些外国做产品网站手机电脑网站建设短视频
  • 中国社交网站做多外国人的自媒体135手机版
  • 寺庙做网站个人主页是什么
  • 做坑人网站二维码网站的功能
  • 江西省网站备案wordpress笔记插件
  • 茂名网站建设推广wordpress调用标签工具
  • 网站开发到上线的流程如何做私人网页
  • 亲子网 网站正在建设中蓝海电商怎么做
  • 深圳网站开发公司 有哪些开发网站费用
  • 网站建设宣传素材宝塔怎么做两个网站