I have problem I\'ve been sitting with. I have a UIViewController List
and a UIViewController Login
.
On Login
I have a button \"Done\", al
first, i believe segues should follow camel case rules. change to...
loginToList
second, disconnect and reconnect your views in ib.
third, clean your project (shift-command-k).
lastly, you should be using something like this method...
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([[segue identifier] isEqualToString:@"loginToList"]) {
[[segue destinationViewController] setDelegate:self];
}
}
for your segue. then setup a delegate protocol method to dismiss the view controller.