Relative Content

Tag Archive for iosswiftuikit

How do I implement the navigation title of the iPhone’s default music app?

I would like to implement it so that, like the iPhone’s default music app, it is shown as a large title at first and when you scroll up, it is shown as a small title. So I implemented it as below, but it is not smooth and hard like the music app. I tried animation, but it is not the same.
How should I implement it?

UIButton color not restored to original color

I am making a quiz app. Its button colour changes if clicked based on correct or wrong answer. But I want to restore the color to the original one after some delay. The color is changed but not restored to the default after the delay of 0.2 seconds.