Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我刚刚从 Apple 的网站更改了 PageControl项目。问题是点击这些点似乎并没有改变页面。该代码有什么问题?
从下载的代码- (IBAction)changePage:(id)sender 看来工作得很好,但正如评论所说“加载可见页面及其两侧的页面”,它在“1”和“6”处不起作用。
- (IBAction)changePage:(id)sender