fixed: 1.适配小屏幕机型

feature: 1.忘记密码新增语音和短信验证码切换功能
This commit is contained in:
jiangxuefei718
2019-03-14 08:41:00 +08:00
parent 5746d392a3
commit 91aee9dac1
35 changed files with 293 additions and 129 deletions
@@ -133,9 +133,11 @@
[self.openDrawerButton setImage:hamburger forState:UIControlStateNormal];
//[self.openDrawerButton addTarget:self action:@selector(openDrawer:) forControlEvents:UIControlEventTouchUpInside];
[self.openDrawerButton addTarget:self action:@selector(leftBtnGoBackAction) forControlEvents:UIControlEventTouchUpInside];
self.openDrawerButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
[self.openDrawerButton setContentEdgeInsets:UIEdgeInsetsMake(0, 10, 0, -10)];
UIBarButtonItem * backItem=[[UIBarButtonItem alloc] initWithCustomView:self.openDrawerButton];
UIBarButtonItem *leftItem=[[UIBarButtonItem alloc] initWithImage:hamburger style:UIBarButtonItemStylePlain target:self action:@selector(leftBtnGoBackAction)];
self.navigationItem.leftBarButtonItem = leftItem;
self.navigationItem.leftBarButtonItem=backItem;
//标题
@@ -222,7 +222,8 @@ NS_ENUM(NSInteger,deviceType){
[bakbutton addTarget: self action: @selector(goBackAction) forControlEvents: UIControlEventTouchUpInside];
bakbutton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
[bakbutton setContentEdgeInsets:UIEdgeInsetsMake(0, 10, 0, -10)];
UIBarButtonItem *back=[[UIBarButtonItem alloc] initWithCustomView:bakbutton];
self.navigationItem.leftBarButtonItem=back;
self.title = @"切换设备";