找不到会员徽标(swift,parse)

时间:2015-08-10 23:51:34

标签: ios swift mobile parse-platform

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
    }

找不到会员“logo”错误@第5行,任何帮助都会很棒。 Parse已导入,所有内容

1 个答案:

答案 0 :(得分:0)

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