iOS - UIActivityIndicator causing “Hides when stopped but is neither hidden or animating” warning

放肆的年华 提交于 2019-12-06 18:38:12

问题


I'm getting this warning for every nib file that contains a UIActivityIndicator.
The warning states:
Unsupported Configuration: Hides when stopped but is neither hidden or animating

What am i doing wrong?


回答1:


This means, You have set Hides when stopped.

So there must be two states only,

  1. Hidden
  2. Animating

But you have set neither Hidden nor Animating.

See the image:

It must be Hidden or Animating, If you have Checked Hides when stopped.




回答2:


You have selected hide when stopped option but you are never hiding activityindicator. set you setting as in attached image



来源:https://stackoverflow.com/questions/13599174/ios-uiactivityindicator-causing-hides-when-stopped-but-is-neither-hidden-or-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!