ios - Progress View stuttering when animating with loop -
i'm trying update progress view using property observer updated in loop sleep.
see tutorial - http://www.ioscreator.com/tutorials/progress-view-tutorial-in-ios8-with-swift
i'm having same problem 1 of comments.
the animation stuttering. jumps 0 64% , 100%.
any idea how can create smoother animation?
try replacing sleep(1) sleep(arc4random_uniform(10)). check out example apple - https://developer.apple.com/library/ios/samplecode/uicatalog/listings/swift_uicatalog_progressviewcontroller_swift.html
hope helps.
Comments
Post a Comment