 <p>I ran across this issue and the above solution didn't fix it. It was because you need to make sure you are using NSTimeInterval for both duration and delay as well. So the solution above is correct, but make sure you are using the correct argument types for all parameters.</p>