我收到包含UIActivityIndicator
的每個nib文件的警告。
警告狀態:
Unsupported Configuration: Hides when stopped but is neither hidden or animating
iOS - UIActivityIndicator導致「隱藏時停止但不隱藏或動畫」警告
我在做什麼錯?
我收到包含UIActivityIndicator
的每個nib文件的警告。
警告狀態:
Unsupported Configuration: Hides when stopped but is neither hidden or animating
iOS - UIActivityIndicator導致「隱藏時停止但不隱藏或動畫」警告
我在做什麼錯?
這意味着,您已設置Hides when stopped
。
所以只能有兩種狀態,
但是你既沒有設置隱藏,也沒有動畫效果。
看到圖像:
它必須是Hidden
或Animating
,如果檢查Hides when stopped
。
Xcode和它的無感決定的精彩世界。這是一個完全浪費宇宙時間的選項。 Xcode應該有0.01%的智力來知道,因爲這個隱藏的屬性在其他上下文中有另一個含義。 – SpaceDog
您已選擇隱藏時停止選項,但你永遠不會隱藏activityindicator。設置你設置爲附加的圖像
請張貼任何相關的代碼 –
PLZ粘貼在這裏你的代碼.. – Anamika