【代码笔记】iOS-MBProgressHUD+MJ

来源:互联网 发布:松下机械手如何编程 编辑:程序博客网 时间:2024/05/29 00:32

一,效果图。

二,工程图。

三,代码。

ViewController.m

复制代码
#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
复制代码



原创粉丝点击