【发布时间】:2013-06-29 21:44:16
【问题描述】:
我已经动态创建了 UIPageControl,并希望将其链接到 IBAction changePage 函数,以便可以在更改页面时处理滚动视图内容更改
我用过
[videoPageControl addTarget:self action:@selector(changePage:) forControlEvents:UIControlEventValueChanged];
在我创建了 pagecontrol 但更改页面时它没有执行 changePage 函数我尝试登录 changePAge 函数但它没有执行该函数
我是iOS开发新手,请回复。
提前致谢。
【问题讨论】:
-
如何初始化videoPageControl?
标签: ios xcode4.2 uipagecontrol ios-universal-app