I'm trying to implement this example Basic Security in iOS 5, but instead of performing the segue to a tableView I'm trying to make the segue to a splitViewController. When it tries to make the segue it throws this error if I use replace:
* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not find a split view controller ancestor for '', while performing a split view controller replace segue (identifier 'LoginSegue') with destination '''
and if I use modal (like in the tutorial):
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present a Split View Controllers modally .'
Any suggestions?
Hi i Found the way to solve this problem here is the link, it's in japanese just translate it cheesememo.blog39.fc2.com/blog-entry-465.html