LoginSignup
4
5

More than 5 years have passed since last update.

SVProgressHUDで任意のスタイルを指定したい

Posted at

「通信中」などのダイアログを容易に表示できるようになるライブラリ、
SVProgressHUDを使う際のスタイル指定方法です。
デフォルトだと背景が白に黒文字ですが、appearanceメソッドを介して
下記の様にスタイルを変更可能。

Sample.m
[[SVProgressHUD appearance] setHudBackgroundColor:[UIColor blackColor]];
[[SVProgressHUD appearance] setHudForegroundColor:[UIColor whiteColor]];
[SVProgressHUD showWithStatus:@"通信中"];
4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5