objective c - Scene is unreachable due to lack of entry points... Custom Button -
i'm new programming on xcode. i've made login screen in snapchat format. currently, started 2 view controllers 1 login , signup changed start intial view controller has 2 custom buttons made. view picture. want when clean login button takes login screen , when click sign button takes sign screen.
i'm not sure i'm doing wrong. want![enter image description here][1]
my app delegate has following:
http://i.stack.imgur.com/8fwt4.png http://i.stack.imgur.com/b9mfn.png
i don't understand why keep getting following error: scene unreachable due lack of entry points , not have identifier runtime access via -instantiateviewcontrollerwithidentifier:.
unless segueing view in question, need give storyboard identifier connect nib related class. go storyboard , ensure you've set class , storyboard id. if you're segueing class, ensure give segue identifier. if not, can like:
yourviewcontroller *vc = (yourviewcontroller*)[self.storyboard instantiateviewcontrollerwithindentifier:@"yourstoryboardidentifier"]; [self presentviewcontroller:vc animated:yes completion:^{}];// or want present it. ie pushing onto navigation stack
Comments
Post a Comment