Closed AMJ-7 closed 3 years ago
Hi there!
You shouldn't present any controllers or views in viewDidLoad
method, because controller not visible at this moment. Choose viewDidAppear
for example.
No, didn't worked ?!!
Provide please code
Provide please code
import UIKit import SPIndicator
class ViewController: UIViewController {
let indicatorView = SPIndicatorView(title: "Complete", preset: .done)
override func viewDidLoad() {
super.viewDidLoad()
print("viewDidLoad")
}
override func viewDidAppear(_ animated: Bool) {
indicatorView.present(duration: 1, haptic: .error) {
print("viewDidAppear")
}
}
}
You are right. Please, update to latest version. Fixed already.
Describe the bug didn't present the indicatorView To Reproduce
Smartphone (please complete the following information):