gpt4 book ai didi

swift - 当 MFMailComposeViewController 出现时键盘应该出现

转载 作者:行者123 更新时间:2023-11-30 10:13:08 26 4
gpt4 key购买 nike

我正在使用 swift 进行开发。我希望当 MFMailComposer 出现时,toReceipt textField 应自动成为第一响应者。

最佳答案

来自MFMailComposeViewController Class Reference :

IMPORTANT

The view hierarchy of this class is private and you must not modifyit. You can, however, customize the appearance of an instance by usingthe UIAppearance protocol.

After presenting a mail comopose view controller, your app cannotchange the email content. The user can edit the content of a presentedinstance but the system ignores programmatic changes. If you want toset values for the content fields, do so before presenting theinterface.

关于swift - 当 MFMailComposeViewController 出现时键盘应该出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31804283/

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