2020-09-03から1日間の記事一覧
通信中にクルクルするやつ。 extension UIViewController { /// プログレスインジケータを表示する func displayProgressIndicator() { // UI更新はメインスレッドで行う DispatchQueue.main.async { let indicator = UIActivityIndicatorView(style: .white…
通信中にクルクルするやつ。 extension UIViewController { /// プログレスインジケータを表示する func displayProgressIndicator() { // UI更新はメインスレッドで行う DispatchQueue.main.async { let indicator = UIActivityIndicatorView(style: .white…