ios - navigational controller not passing data from tableview to viewcontroller -


तालिका दृश्य के लिए कोड:

  - (शून्य) तालिकादृश्य: (UITableView *) tableView DidselectRowAtIndexPath: (NSIndexPath *) सूचकांकपथ {ViewControllerDisplayMsg * विस्तार = [self.storyboard instantiateViewControllerWithIdentifier: @ "viewController3"]; सेलवल्यू = [सरणी ऑब्जेक्टऐटइंडएक्स: इंडेक्सपाथ.रो]; Detail.DisplayMsgString = cellvalue; [आत्म। नेविगेशन नियंत्रक पुश ViewController: विस्तार एनिमेटेड: हाँ]; }   

कोड को देखने के नियंत्रक 3:

  - (शून्य) दृश्यडिडलोड {[सुपर व्यूडिडलोड]; Self.DisplayMsgLabel.text = self.DisplayMsgString; }   

उपरोक्त कोड डेटा रिक्त नहीं हो रहा है, जब व्यू नियंत्रक 3 खोला जाता है। डेटा गुजर क्यों नहीं रहा है। क्या कोड गायब है?

कृपया मेरी सहायता करें। सहायता की सराहना कीजिए।

अग्रिम धन्यवाद।

आपने उपयोग किया है

  - (शून्य) तालिकादृश्य: (UITableView *) तालिकादृश्य ने चुनावाराआइटइंडएपपाथ: (NSIndexPath *) indexPath {}   

यह है

  - (शून्य) तालिकादृश्य: (UITableView *) तालिकादृश्य किया था SelectionRowAtIndexPath: (NSIndexPath *) indexPath {}   

मुझे आशा है कि आप इसे टाइप किया है गलती से कृपया अपने परिणाम को साझा करें यदि यह इस से कुछ और है

Comments

Popular posts from this blog

php - How to filter values fetched from database on the basic of comma included? -

excel vba - How to delete Solver(SOLVER.XLAM) code -

c# - Add Image in a stackpanel based on textbox input -