我为我的应用程序的 text2speech 函数编写了一个小函数。该代码在 ios16 之前都可以正常工作。现在我看到以下控制台日志:
022-09-13 18:04:02.274692+0200 Blindzeln_Prototyp[47358:164517] [asset] Failed to get sandbox extensions
2022-09-13 18:04:02.314956+0200 Blindzeln_Prototyp[47358:164517] [catalog] Query for com.apple.MobileAsset.VoiceServicesVocalizerVoice failed: 2
2022-09-13 18:04:02.315688+0200 Blindzeln_Prototyp[47358:164517] [catalog] Unable to list voice folder
2022-09-13 18:04:02.333665+0200 Blindzeln_Prototyp[47358:164517] [catalog] Query for com.apple.MobileAsset.VoiceServices.GryphonVoice failed: 2
2022-09-13 18:04:02.334239+0200 Blindzeln_Prototyp[47358:164517] [catalog] Unable to list voice folder
2022-09-13 18:04:02.338622+0200 Blindzeln_Prototyp[47358:164517] [catalog] Unable to list voice folder
2022-09-13 18:04:02.355732+0200 Blindzeln_Prototyp[47358:164583] [AXTTSCommon] File did not exist at content path: (null) (null). Attempting to fallback to default voice for language: …Run Code Online (Sandbox Code Playgroud) 我使用了一个非常简单的动画,以非常柔和流畅的方式打开按钮栏:
.animation(.spring(response:1.5))
Run Code Online (Sandbox Code Playgroud)
我想将我的应用程序更新到 iOS15,但“动画”在 iOS 15.0 中已被弃用
所以我尝试将动画更改为:
.animation(.spring(response:1.5), value: 0)
Run Code Online (Sandbox Code Playgroud)
或类似的东西:
.animation(.spring(response: 1.5, dampingFraction: 2.5, blendDuration: 2.5), value: 10)
Run Code Online (Sandbox Code Playgroud)
但是新的动画弹出的速度非常快,流畅的效果没有了。
有谁知道如何将我的小弹簧动画带到 iOS 15 上?
我在使用 iOS 15 的应用程序中发现 Vision 框架存在问题。我在字符串中写入识别的文本,但在 iOS 15 下,结果的顺序不正确。
\n也许一个例子会更好地解释它:-)
\n要扫描的文本:
\n\n\n您好,我叫 Michael,是一款名为
\n
Scan2Clipboard 的应用程序的程序员。
\n现在我重点关注\nVNRecognizeTextRequest 和 iOS 15 的问题
。
iOS 14 下的结果:
\n\n\n您好,我叫 Michael,是一款名为
\n
Scan2Clipboard 的应用程序的程序员。
\n现在我重点关注\nVNRecognizeTextRequest 和 iOS 15 的问题
。
iOS 15 下的结果:
\n\n\n您好,我的名字是 Michael,我是一个应用程序的程序员
\n
\n现在我\n专注于一个
名为 Scan2Clipboard 的问题。
\nVNRecognizeTextRequest 和 iOS 15。
我尝试了 App Store 中的一些其他应用程序(扫描和复印、快速扫描)。他们表现出相同的行为。他们还使用 Vision 框架。还有其他人也有这个问题吗?
\n下面第一张图是源图,第二张图是结果。请注意结果中间的“F\xc3\xbcr den M\xc3\xbcrbteig”跳转:
\n\n\n