Nil is not compatible with expected argument type UIViewAnimationOptions

前端 未结 3 644
南笙
南笙 2021-02-01 13:32

I just started programming and following a tutorial online I was unable to create this animation. Can anyone tell me why it\'s saying:

Nil is not compati

3条回答
  •  青春惊慌失措
    2021-02-01 13:41

    UIViewAnimationOptions is an enum backed by integers. You should pass 0. Here is the doc for the enum.

提交回复
热议问题