ios - Present Modal view over Modal view not showing -


i've had on , can't find answer this. i'm presenting modal view from:

- (void)tableview:(uitableview *)tableview didselectrowatindexpath:(nsindexpath *)indexpath {      [tableview deselectrowatindexpath:indexpath animated:yes];      icobservationeditcontroller *controller = [[icobservationeditcontroller alloc] initwithobservation:[self.observations objectatindex:indexpath.row]];      uinavigationcontroller *navcontroller = [[uinavigationcontroller alloc] initwithrootviewcontroller:controller];      navcontroller.navigationbar.barstyle = uibarstyleblackopaque;      navcontroller.navigationbar.tintcolor = [uicolor graycolor];      [self.editcontroller presentmodalviewcontroller:navcontroller animated:yes]; } 

once presented, option want present text message on top messageui framework:

mfmessagecomposeviewcontroller *controller = [[mfmessagecomposeviewcontroller alloc] init]; if([mfmessagecomposeviewcontroller cansendtext]) {     nslog(@"presented");      //code here text body      controller.recipients = [nsarray arraywithobjects:@"", nil];     controller.messagecomposedelegate = self;     [self.editcontroller presentmodalviewcontroller:controller animated:yes]; } 

the debugger confirms i'm receiving event, no view presented. code correct have used exact same code in other apps when not in modal view.

the uikit won't allow there workarounds. article should you.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -