How to disable pagecontrol?

I have 2 views that the user can scroll through. I have page control, so I have two dots at the bottom of the page that show the current page. I want to disable this if the user changes the setting. I can't seem to find the code for this? I think it would be nice if 2 points remained, but were gray, but this is not necessary!

Any advice would be great :-)

+3
source share
1 answer

Have you tried setting a property with NO control enabled?

myPageControl.enabled = NO;
+6
source

Source: https://habr.com/ru/post/1771187/


All Articles