Is it possible to use Core Animation to fade out a UIBarButtonItem?

后端 未结 2 1612
轻奢々
轻奢々 2021-01-13 12:08

I\'m curious, is it possible to somehow intertwine Core Animation to give a \"fade out\" of a UIBarButtonItem? I have a tableView which I represent with two different data s

2条回答
  •  春和景丽
    2021-01-13 12:19

    I don't believe there's a way to control the alpha on a UIBarButtonItem, but the UIToolbar class already has a method to support what you're trying to do: -setItems:animated:.

提交回复
热议问题