relatedcode / ProgressHUD

ProgressHUD is a lightweight and easy-to-use HUD for iOS. Over 5000+ animations. ‼️
https://relatedcode.com
MIT License
2.83k stars 464 forks source link

xcode 14.3.1 error #155

Closed baiyidjp closed 1 year ago

baiyidjp commented 1 year ago

I use xcode 14.3.1,HUD version is 14.1.0, this code build error, I do not hava ios17

        if #available(iOS 17.0, *) {
            imageView.addSymbolEffect(.bounce, options: .repeating)
        }
CNDEVE commented 1 year ago

the same xecode version 14.2 if #available(iOS 17.0, *) { imageView.addSymbolEffect(.bounce, options: .repeating) } errorMsg: Cannot infer contextual base in reference to member 'bounce , Cannot infer contextual base in reference to member 'repeating', Value of type 'UIImageView' has no member 'addSymbolEffect'

relatedcode commented 1 year ago

@baiyidjp @CNDEVE In case you're using Xcode 14.3.1 or an earlier version, stick with version 13.8.6.

baiyidjp commented 1 year ago

@baiyidjp @CNDEVE In case you're using Xcode 14.3.1 or an earlier version, stick with version 13.8.6.

yes, I can use 13.8.6