Up vote 0 down vote favorite share g+ share fb share tw.
I set up my Popover Controller using the following code in my MainViewController: NSLog(@"iPad"); FlipsideViewController *controller = FlipsideViewController alloc initWithNibName:@"FlipsideViewController" bundle:nil autorelease; controller. Delegate = self; UINavigationController *navController = UINavigationController alloc initWithRootViewController:controller; self. FlipsidePopoverController = UIPopoverController alloc initWithContentViewController:navController autorelease; self.
FlipsidePopoverController presentPopoverFromRect:info bounds inView:info permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES; This Works Perfect. Now, in my flipside view controller, I am trying to change the content inside the popover without the popover closing. I am using the following code: AddViewController *addViewController = AddViewController alloc initWithStyle:UITableViewStyleGrouped; addViewController.
Delegate = self; // Create a new managed object context for the new book -- set its persistent store coordinator to the same as that from the fetched results controller's context. NSManagedObjectContext *addingContext = NSManagedObjectContext alloc init; self. AddingManagedObjectContext = addingContext; addingManagedObjectContext setPersistentStoreCoordinator:fetchedResultsController managedObjectContext persistentStoreCoordinator; addViewController.
Child = (Child *)NSEntityDescription insertNewObjectForEntityForName:@"Child" inManagedObjectContext:addingContext; UINavigationController *navController = UINavigationController alloc initWithRootViewController:addViewController; MainViewController *mainViewController = MainViewController sharedMainViewController; mainViewController. FlipsidePopoverController setContentViewController:navController; However, when I press the proper button nothing happens. The button is properly linked and set up in the Navigation Bar.
Am I changing the controller correctly? Thanks! Iphone objective-c ios uipopovercontroller link|improve this question edited Mar 14 at 21:11Emil2,44411958 asked Mar 14 at 21:06Ahan Malhotra576 73% 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.