gpt4 book ai didi

ios - Xcode swift : Could not find member

转载 作者:行者123 更新时间:2023-11-28 07:05:05 25 4
gpt4 key购买 nike

if (PFUser.currentUser() == nil) {

self.logInViewController.fields = PFLogInFields.UsernameAndPassword | PFLogInFields.LogInButton | PFLogInFields.SignUpButton | PFLogInFields.PasswordForgotten | PFLogInFields.DismissButton

var logInLogoTitle = UILabel()
logInLogoTitle.text = "Cinderella"

self.logInViewController.PFLoginview.logo = logInLogoTitle //error: could not find member 'logo'

self.logInViewController.delegate = self

var signUpLogoTitle = UILabel()
signUpLogoTitle.text = "Cinderella"

self.signUpViewController.PFSignUpView.logo = signUpLogoTitle // error: could not find member 'logo'

self.signUpViewController.delegate = self

self.logInViewController.signUpController = self.signUpViewController


}

我还是个初学者,不确定这个错误是什么意思..谁能帮我解决这个问题?

最佳答案

您正在使用类 PFLoginview 而不是属性 logInView 您可以更改为如下 Logo

self.logInViewController.logInView.logo = logInLogoTitle

关于ios - Xcode swift : Could not find member,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30871628/

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