저는 IOS 세계에 처음 왔습니다. 로그인 할 때만 표시되는 새보기로 전환 할 때보기를 변경하는 데 문제가 있습니다. loginfuction 내부에서 사용하고 있습니다.탐색 ios 8 신속한?
@IBAction func loginVerification(sender: UIButton!) {
//Check with the cloud
//temporary faking credentials
var user = "n"
var pass = "n"
if usernameLogin.text == user &&
passwordLogin.text == pass
{
println("Correct credentials")
let homeviewcontroller = HomeViewController()
self.presentViewController(homeviewcontroller, animated: true, completion: nil)
}
else
{
println("Wrong credentials!!")
}
}
위의 기능은 자격 증명을 확인하는 로그인 버튼을 누르면 트리거됩니다. 위의 행을 사용하면보기가 검은 색이됩니다. 어떻게 작동 시키는가에 대한 제안? 뷰 간의 탐색에 따라 수행 할 수있는 자습서가 있습니까? 제발 열심히하지 마세요 :)
미리 감사드립니다!
당신은 UINavigationController에 대해 들어 본 적이 : –