I am using a UIActivity Indicator View named as process.
I declare property in main.h class,and synthesize in main .m
i am using this to indicate user connecting web on a button click.
And [process startAnimating]
that indicator in button click.
But I write code to connect web services in another class named webservices,now i need to stop animating that process in this web services.
For that i am writing code in webservices.m
main *obj = [[main alloc]init];
[obj.process stopAnimating];
But it not works.
can any one pls help me.
Thank u in advance.