Universal Master-Detail Storyboard help on segue?

Up vote 0 down vote favorite share g+ share fb share tw.

I am trying to make my first Universal app using iPhone and iPad storyboards. I have a very simple app that show a list on the UITable and the detail of the item when clicked. It works fine for iPhone, I created a segue to push the detail view ans its working fine with this code: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { self performSegueWithIdentifier:@"detail" sender:nil; } - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if (segue identifier isEqualToString:@"detail") { NSIndexPath *selectedIndex = self.

TableView indexPathForSelectedRow; // Get reference to the destination view controller self. DetailViewController = segue destinationViewController; // Pass any objects to the view controller here, like... self. DetailViewController.

DetailDict = myArray objectAtIndex:selectedIndex. Row; } } I don't know if that make any difference but I have set up my iPad to work only on landscape. Anyway, how can I optimize this code to work on the iPad story board too?

I have already tried different segues for iPad but none of them worked. I get (gdb) iphone objective-c ipad xcode4.2 storyboard link|improve this question asked Apr 4 at 18:54André Cytryn1159 70% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions