ASH84

Software Engineer/Developer, co-founder of Payhere. Ex-Banksalad. Intereseted in iteroperability, bootstrap company, writting.

(iOS) SVProgressHUD 를 이용한 팝업 보여주기

created:2013-09-21
updated:2015-07-03
edit

UIAlertViewController를 이용할수도 있겠지만 좀더 세련된 앱을 만들려면 조금이라도 이쁜 모냥새를 보워주는 것이 필수적이다. 그래서 SVProgressHUD 를 주로 팝업이나 로딩시 이용한다. 


– https://github.com/samvermette/SVProgressHUD

위와 같은 모양으로 여러가지 형태의 팝업창을 구성할 수 있다. 


사용법 자체를 그리 어렵지 않은데 SVProgressHUD 클래스의 정적함수로 주로 구현이 되어 있기 때문에 .h 헤더파일을 추가한 후에,  showWithStatus, showProgress 등의 함수를 통해서 한번 보여지는 팝업이나 로딩뷰나 진행상태를 알려주는 팝업등을 지정 할 수 있게 되어 있다. 












#dev  #Objective-C  #showWithMaskType  #showWithStatus  #SVProgressHUD