IPhone How to get an increased effect on a certain part of the screen?

enter image description hereenter image description here

Hello to all,

The images above are taken from the Nike Boom app. I am wondering how to make an increased effect in the list of numbers, as shown in the images. I also want to note that this is a very smooth animation, so the screen fixing a certain part of the screen and projecting it back onto the UIView may not work (I tried this)

Thanks in advance, Pondd

Update: Hey

Just for anyone who might run into this topic, I made a simple example based on the Nielsbot suggestion and posted it on github here

Please do not hesitate to fork, improve and pass it :)

Best

Pondd

+7
source share
1 answer

This is done with two types of scrolling, one opposite the other. One scroll view (A) contains small numbers. The second scroll view (B) contains enlarged numbers. Frame (B) is a transparent window. When you scroll (A), you scroll (B) programmatically, but you move it further than (A). (Ie if (A) scrolls 10 pixels, you can scroll (B) 20 pixels.)

Make sense?

If you have ever used Convert.app from TapTapTap, they use a similar effect.

+3
source

All Articles