iOS

[iOS] UIActivityIndicatorView

domisolll 2020. 6. 11. 23:35

UIActivityIndicatorView

A view that shows that a task is in progress.

어떠한 작업이 진행 중임을 나타내는 뷰 

(로딩 중 아이콘이라고 생각하면 됨 ! 실제로 데이터가 로드되기 직전까지 animating 하다가 로드 되면 stop, hide)

 

class UIActivityIndicatorView : UIView

 

// style : large, medium
init(style: UIActivityIndicatorView.Style)

func startAnimating()

func stopAnimating()

// 애니메이션이 멈췄을 때 뷰를 hidden 처리해 줄 것인지를 결정
var hidesWhenStopped: Bool { get set }