iphone - Display Pageviewcontroller using storyboard segue -
i have pageviewcontroller want display , in project using storyboard , segue nsstring *path = [[nsbundle mainbundle] pathforresource:@"paper" oftype:@"pdf"]; pageviewcontroller *page = [[pageviewcontroller alloc] initwithpdfatpath:path]; //[self presentviewcontroller:page animated:no completion:null]; if use statement //[self presentviewcontroller:page animated:no completion:null]; then doesn't display navigation bar , backbarbuttonitem and when remove statement //[self presentviewcontroller:page animated:no completion:null]; then doesn't display pageviewcontroller using curl effect transition turning page on displays navigation bar , backbarbuttonitem. and when replace statement //[self presentviewcontroller:page animated:no completion:null]; with statement [self.view addsubview:page.view]; then displays pageviewcontroller doesn't turn page on @ all. please help. thanks lot. i think see issue. since have segue