ios - scene is unreachable due to a lack of entry points.. no identifier for runtime access? -
this question has been asked & addressed before haven't found solution fixes issue. why getting "scene unreachable due lack of entry points , not have identifier runtime access via - instantiateviewcontrollerwithidentifier" error? when run app, after launching image, turns black & debugger has following message:
my default tableviewcontroller (which 1st) instantiated following code within:
import uikit class firsttableviewcontroller: uitableviewcontroller { override func viewdidload() { super.viewdidload() } override func didreceivememorywarning() { super.didreceivememorywarning() // dispose of resources can recreated. } // mark: - table view data source override func numberofsectionsintableview(tableview: uitableview) -> int { // #warning potentially incomplete method implementation. // return number of sections. return 1 } override func tableview(tableview: uitableview, numberofrowsinsection section: int) -> int { // #warning incomplete method implementation. // return number of rows in section. return 21 } override func tableview(tableview: uitableview, cellforrowatindexpath indexpath: nsindexpath) -> uitableviewcell { let cell = tableview.dequeuereusablecellwithidentifier("cell", forindexpath: indexpath) as! uitableviewcell return cell } }
and following 2 tableviewcontrollers instantiated. seems issue?
in storyboard, make sure initial view controller has arrow pointing it. if not, check "initial view controller" in inspector window view controller.
the application can't find initial view controller, that's complaining for.
Comments
Post a Comment