How to repeat the appearance of “pullable chewing gum” UIRefreshControl?

IOS 6 Mail has an “update to release” animation that looks like chewing gum or a gum that is pushed out, then released. Does anyone know how to copy this control using Core Graphics?

In the background, I would like to reproduce this behavior on a poppy, and in Mountain Lion there is no equivalent to UIRefreshControl .

Note: this is a continuation in iOS 6 - How can I get a “release to update” animation item? how is it in the mail?

+4
source share
1 answer

At the moment, I have not found any implementation of UIRefreshControl (or equivalent) for Mountain Lion. However, there are implementations of equivalent controls for iOS 4 and iOS 5 (since these systems do not have a UIRefreshControl). Therefore, you can try to make a port of these OSX codes.

I found 2 projects on github:

https://github.com/ishkawa/ISRefreshControl

https://github.com/dbsGen/SlimeRefresh

+3
source

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


All Articles