【问题标题】:could not find member logo (swift, parse)找不到成员徽标(swift,解析)
【发布时间】:2015-08-10 23:51:34
【问题描述】:
if (PFUser.currentUser() == nil){

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

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

        self.logInViewController.logInView.logo = logInLogoTitle

        self.loginViewController.delegate = self

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

        self.signUpViewController.signUpView?.logo = signUpLogoTitle

        self.signUpViewController.delegate = self

        self.loginViewController.signUpController = self.signUpViewController
    }

在第 5 行出现找不到成员“徽标”错误,任何帮助都会很棒。解析已导入,一切

【问题讨论】:

    标签: ios swift mobile parse-platform


    【解决方案1】:

    我认为是因为您需要这样的 UIView:self.logInView.logo = UIImageView(image: UIImage(named: "logoReport"))

    【讨论】:

      猜你喜欢
      • 2023-03-14
      • 1970-01-01
      • 2015-10-06
      • 1970-01-01
      • 2015-10-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多