Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Re: Calling method of one view controller from another

$
0
0

Pass your main controller object to your child.

for eg:

Main controller:

 

*********Your Action**********

           var that = this;

          pass "That" to your child method, as an argument.

            **********Calling child***********

 

So now you can access your parent control and its sub classes.

 

 

 

Correct me if I was wrong.

 

Thanks,

KA


Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>