gpt4 book ai didi

iOS 10 beta,访问键盘框架时崩溃

转载 作者:搜寻专家 更新时间:2023-10-30 22:00:06 25 4
gpt4 key购买 nike

iOS 10 测试版 4

Xcode 8 测试版 1

访问键盘框架大小时发生崩溃,如下所示:

var keyboardFrame:CGRect = (userInfo[UIKeyboardFrameBeginUserInfoKey] as! NSValue).cgRectValue()
keyboardFrame = self.view.convert(keyboardFrame, from: nil)

var contentInset:UIEdgeInsets = self.scrollView.contentInset
contentInset.top = -keyboardFrame.size.height + (tabBarController?.tabBar.frame.size.height)!
contentInset.bottom = keyboardFrame.size.height - (tabBarController?.tabBar.frame.size.height)!

日志显示:

[MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/

最佳答案

根据 Apple 在私有(private) Radar 上的回应,此问题已在 iOS 10.0 和 Xcode 8 及更高版本的生产版本中修复。

关于iOS 10 beta,访问键盘框架时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38930248/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com