こんにちは
swiftのアニメーションで下記のようなコードでオプションを設定しようとしましたが、
エラーになってしまいます。
他サイトで調べた通りのやり方押しているはずなのですが、エラーです。
ただしい書き方を教えてください。
swift
1//Code 2UIView.animate(withDuration: 0.2, options: UIViewAnimationOptions.curveEaseInOut, animations: {})
swift
1//Error 2Argument 'animations' must precede argument 'options' 3 Replace 'options: UIViewAnimationOptions.curveEaseInOut, animations: { 4 5 }' with 'animations: { 6 7 }, options: UIViewAnimationOptions.curveEaseInOut'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/02/15 08:43