Questions tagged [pagecontrol]

77 questions
1
vote
1 answer

UIImageView is cut off on right side within PageControl after zooming

my image is cut off on the right side after zooming in. if i don't set the offset with cgrect make, then it is not cut off, but i want my image to be centered on the screen. how can i have my image centered and not cut off the right portion after…
Adam Johns
  • 35,397
  • 25
  • 123
  • 176
1
vote
1 answer

Attempting to incorporate apple's page control example into a storyboard viewcontroller

I have some images I'm trying to load within a scroll view similar to apple's page control example. My app crashes with an error of 'NSInvalidArgumentException', reason: '-[TutorialViewController loadScrollViewWithPage:]: unrecognized selector…
Macness
  • 1,226
  • 2
  • 13
  • 24
1
vote
1 answer

Swiping Images with Page Control in Iphone (Part 2)

I am trying to make practice app where i can scroll images with page control. I am able to scroll images and able to include the page control. But the problem i face is i am not able to interlink the two. Meaning to say when I scroll the images, the…
lakshmen
  • 28,346
  • 66
  • 178
  • 276
1
vote
2 answers

UIPagecontrol with Images

I'm trying to use the page control feature along with UIScrollView to display a set of images on my IOS app, i've seen some tutorials but they all show how to change colors, how can i have some images loaded and use page control to go through them?
XpApp
  • 141
  • 4
  • 14
1
vote
0 answers

Memory Leak issue in UIPage Control

- (void)loadScrollViewWithPage:(int)page { if (page < 0) return; if (page > kNumberOfPages) return; if([searchResultArray count]>6) { if([searchResultArray count]%6==0) { kNumberOfPages = [searchResultArray…
Sakshi
  • 1,060
  • 11
  • 25
0
votes
1 answer

How to change starting page to another page in UIScrollView

I've created a scroll view where the user can cycle through the pages that I've assigned. The first button leads to page1 as the starting page. However I would like the current starting page to be page 2 when I press button 2 that leads me to the…
Sindano
  • 11
  • 1
  • 4
0
votes
1 answer

Swift How to Show All Dots in PageControl

Hello, in this app i have 3 pages (index 0 - 2). But how the PageControl just show 2 pages? How can I show all dots of pages in my page control? thank you :)
Bill Rei
  • 333
  • 3
  • 14
0
votes
1 answer

Flutter bottom navigator Bar

I have make a bottom navigator bar that is working fine. But I don't know how to make it display on pages that are not inside bottom navigator bar. When I hot restart, the bottom navigator disappears, how to solve this. This is the code for the…
Vincent
  • 208
  • 3
  • 10
0
votes
2 answers

CollectionView + Page control

I've collectionView where every cell is a page (the cell occupies the whole screen in portrait mode and 2 cells in landscape mode). I'm trying to add the current page number/the total number of pages (i.e 1/30) what I got so far 1/0 --> one is the…
Wen
  • 9
  • 6
0
votes
1 answer

how to get final pageController.page value in flutter

I have below code which was working before but as the nature of the remaining code have changed, this is not working anymore. I need pageController.page value to add background and borderColor to button in listView under GestureDetector. issue is if…
princeoo7
  • 1,071
  • 3
  • 21
  • 44
0
votes
1 answer

How to add Page Control in watch application

I have seen several apps that is using page control to navigate among screens in watch application. But I wonder how can we add that control in watch interface. Please help.
Anju
  • 563
  • 2
  • 6
  • 13
0
votes
1 answer

PageControl in collectionView swift

I created a control page for my collectionView of 12 cells. I would like these cells to be distributed in 2 pages, in a grid of 3 columns and 2 rows. but with the current code the 12 cells are arranged on one row. how can I fix it? i think i have to…
0
votes
0 answers

Custom Image issue on Page control

i'm trying to set custom image on page control dots. I have tried a custom class for this , class CustomPageControl: UIPageControl { @IBInspectable var currentPageImage: UIImage? @IBInspectable var otherPagesImage: UIImage? override var…
0
votes
1 answer

Adding NSTimer in image slide and page contol to move images automatically

Here is the image slider works fine when dragging manually the image changes with page control indicator change but I want to add the timer to the following code and move the images and indicator automatically. Please help me to apply NS timer in…
Nitin
  • 31
  • 8
0
votes
1 answer

How change the page control indicator on image slide inside scrollview using NSTimer

Here is the image slider which works fine. When dragging manually the image changes and indicator also changes but when i add animation only image changes automatically not the indicator. Instead of animating image i want to scroll image so that…
Nitin
  • 31
  • 8