Page Control / View Pager in App (Swift 5) - Xcode 11, iOS for Beginners

Page Control / View Pager in App (Swift 5) - Xcode 11, iOS for Beginners

iOS Academy

3 года назад

35,945 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Rare Idea
Rare Idea - 30.09.2023 16:57

I can't switch page by swiping scrollview from right to left.

Ответить
Evrim Demir
Evrim Demir - 15.01.2023 17:48

thanks!

Ответить
govardhan reddy
govardhan reddy - 02.11.2022 17:03

thank you , its useful for me.

Ответить
Mustafa Alp
Mustafa Alp - 03.06.2022 10:26

use "func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)" delegate method instead of "didScroll". It is smoother.

Ответить
Simply
Simply - 13.05.2022 02:36

The way you create your properties pisses me off so much because I don’t understand the concept of it at all. Iam not used to that private shiet

Ответить
Gandalf Grey
Gandalf Grey - 13.02.2022 01:01

I added a tableView to this and I noticed when I pan up or down the page indicator jumps to the first circle. Anyone know why?

Ответить
Zool Vinkler
Zool Vinkler - 12.11.2021 01:10

Exactly what I needed. Thank you!

Ответить
Bran Gaming
Bran Gaming - 19.07.2021 13:12

how for storyboard?

Ответить
Salar Pro
Salar Pro - 29.06.2021 20:49

Thank you i was searching for .valueDidChange <3

Ответить
riestiya zain
riestiya zain - 10.06.2021 05:39

Great video! Anybody knows where is the storyboard approach?

Ответить
Stef Patterson
Stef Patterson - 28.03.2021 04:25

How do you programmatically make the number of pages dynamic (e.g. if data to be displayed is coming from an API source)? Also, still waiting for member GitHub invite.

Ответить
Morgan Mills
Morgan Mills - 06.03.2021 17:11

Great tutorial! Thank you so much. Maybe I missed it, but could you do a video on how to do this threw storyboard?

Ответить
Ambitious Dreamer
Ambitious Dreamer - 06.11.2020 19:10

Good tutorial. Thanks a lot. 🌸
But how can I use the pages that ? Design on them and coding
Could you please answer my question. I need it

Ответить
Sara Ramos
Sara Ramos - 02.11.2020 23:19

How do I put the page control into a tab bar controller, (for example I want the page control in one of the three pages I have for the tab bar controller but I don't know how to put it in there, cause I build the app and it doesn't appear) Please I need your help, hope you understand me.

Ответить
Stanley Miller
Stanley Miller - 25.10.2020 01:50

🔥

Ответить
sainaveen k
sainaveen k - 10.10.2020 20:34

Bro please make a video using the storyboard

Ответить
Way 2 Know
Way 2 Know - 27.09.2020 01:16

help me how to use full-sized images for background with a button on top of it without hiding the back of the images, I tried an array of UIMages instead of colors array in your code, and used this code page.backgroundColor = UIColor(patternImage: colors[x]) my view got ruined i need a screen like Netflix before sign-in page control page

Ответить
M
M - 17.09.2020 14:09

pageControl.currentPage = Int(floorf(Float(scrollView.contentOffset.x) / Float(scrollView.frame.size.width))) 
gives back:
Fatal error: Float value cannot be converted to Int because it is either infinite or NaN  

any ideas?

Ответить
Irsyad Ashari
Irsyad Ashari - 25.08.2020 10:39

u need to start pushing these tutorial's xcode project into github and put it in the video's decription dude!

Ответить
Michael Urresta
Michael Urresta - 13.08.2020 07:30

I can't find doing it through storyboards

Ответить
Noah Brauner
Noah Brauner - 12.08.2020 17:06

Do you mind adding it to the GitHub?

Ответить
Aarish 13
Aarish 13 - 11.08.2020 23:58

Appreciate the video! Could I suggest one on how Xcode and git with the repositories work. I have projects i would love to upload but videos online are complicated to follow through as Xcode updates.

Ответить
MkW
MkW - 11.08.2020 19:12

Hey, thanks for the video! One question: Does this work with screen rotation? When I use Page control and move the phone to landscape and or back the page is not centered anymore. When I touch the screen it moves in the correct position. How do I fix this?

Ответить
개발하는 정대리
개발하는 정대리 - 11.08.2020 17:23

Really thanks for sharing your knowledge 👍

Ответить
soumitra bera
soumitra bera - 11.08.2020 17:05

First view and also liked to thank you for sharing this video ...i was searching about pagecontrol today ..and getting a pop up of your video

Ответить