一,效果图。

【代码笔记】iOS-MBProgressHUD+MJ

二,工程图。

【代码笔记】iOS-MBProgressHUD+MJ

三,代码。

ViewController.m

【代码笔记】iOS-MBProgressHUD+MJ
#import "ViewController.h"
#import "MBProgressHUD+MJ.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [MBProgressHUD showMessage:@"正在登录" toView:self.view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end

一,效果图。

【代码笔记】iOS-MBProgressHUD+MJ

二,工程图。

【代码笔记】iOS-MBProgressHUD+MJ

三,代码。

ViewController.m

【代码笔记】iOS-MBProgressHUD+MJ
#import "ViewController.h"
#import "MBProgressHUD+MJ.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [MBProgressHUD showMessage:@"正在登录" toView:self.view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2021-09-03
  • 2021-08-22
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2021-06-09
  • 2022-12-23
  • 2021-04-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案