I have a function below and when I link with the iOS 11 SDK, I get an error:
Do not add subviews directly to the visual effect view itself, instead ad
Just follow what the error says and add your subviews to UIVisualEffectView's contentView.
UIVisualEffectView
contentView
effectView.contentView.addSubview(activityIndicator) effectView.contentView.addSubview(strLabel)