swift - My app goes to a black screen as soon as I add Firebase connection in Xcode -


please help. have built few apps connecting firebase no problem. each time link app firebase (i using xcode 8.3) app goes directly black screen on launch. both when test on mobile , on simulator. have tried restarting project many times , doing clean , correctly. app fine firebaseapp.connect() in app delegate, connect text field or input field, app not work. know reading database have printed database snapshots debug window. please help

here code initial view control

import uikit 

class newloginviewcontroller: uipageviewcontroller {

@iboutlet weak var passwordtextfield: uitextfield! @iboutlet weak var emailtextfield: uitextfield! override func viewdidload() {      super.viewdidload()      // additional setup after loading view. }  override func didreceivememorywarning() {     super.didreceivememorywarning()     // dispose of resources can recreated. }   /* // mark: - navigation  // in storyboard-based application, want little preparation before navigation override func prepare(for segue: uistoryboardsegue, sender: any?) {     // new view controller using segue.destinationviewcontroller.     // pass selected object new view controller. } */ 

}

here pic of storyboard, debug window , simulator output of new project:

enter image description here


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -