Implement Keyboard Key Pop Animation in iOS 8 Keyboard Extension

后端 未结 2 493
耶瑟儿~
耶瑟儿~ 2021-02-01 07:31

I\'d like to ask how to implement the pop animation when holding a keyboard key for iOS 8 keyboards extension. I know how to assign the long press gesture on every key but doesn

2条回答
  •  独厮守ぢ
    2021-02-01 07:56

    Might be easiest to just do the animation in photoshop or something that can output the animation frames as separate images, then animate a UIImageView (docs).

    So just have the background of the popup thing animate in the above mentioned way, then can either make the letter fade in with the animation, or carefully animation the UILabel with the backgrounds animation

提交回复
热议问题