ios - how to navigate to another view controller from uiview subclass(mapviewcontroller:MKmapview) -


im doing application on mapkit shows mutiple pins on map. when user touches annotation pin user taken detailed view. problem class implemented map subclass of mkmapkit. when tried use

supermarketdetailsviewcontroller *detailviewcontroller = [[supermarketdetailsviewcontroller alloc]init]; [self.navigationcontroller pushviewcontroller:detailviewcontroller animated:yes]; 

the error property "navigationcontroller" not found on object of type mapviewcontroller

how can navigate current view view in scenario?

to navigate, have embed mapviewcontroller in uinavigationcontrolelr (storyboard). crash should solved then.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -