I have created UIPageControl dynamically and want to link it to the IBAction changePage function so can work on the scrollview content change while changing the page
I have used
[videoPageControl addTarget:self action:@selector(changePage:) forControlEvents:UIControlEventValueChanged];
after I created the pagecontrol but while changing page its not executing changePage function I tried logging in changePAge function but its not executing the function
I am new to Ios development please de reply.
Thanks in Advance.