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.
我需要在 uiscrollview 中显示许多图像,其中 uipagecontrol 显示当前图像的指示。我已经实现了所有功能,一切正常。但是服务器一次返回大约 40-45 个图像,然后 uipagecontrol 退出屏幕。下面是我的屏幕截图。请帮助我,我应该如何控制它。
如果你有很多点,那么不建议使用 pagecontrol。但是如果你想继续它,那么你可以使用下面的代码来缩放 pagecontrol
yourpagecontroll.transform = CGAffineTransformMakeScale(0.8, 0.8);
您可以根据需要更改该值。