Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JXT committed Jun 21, 2018
1 parent 6513385 commit 5bbe0cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion JXTAlertManager/AlertView/JXTAlertView.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void jxt_setHUDFailMessage(NSString * _Nullable message);
/**
* JXTAlertView: 关闭HUD
*/
void jxt_dismissHUD();
void jxt_dismissHUD(void);



Expand Down
2 changes: 1 addition & 1 deletion JXTAlertManager/AlertView/JXTAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void jxt_setHUDFailMessage(NSString *message)
jxt_setHUDFailTitleMessage(@"", message);
}
//关闭HUD
void jxt_dismissHUD()
void jxt_dismissHUD(void)
{
jxt_getSafeMainQueue(^{
[JXTAlertView dismissHUD];
Expand Down
Binary file modified JXTAlertManagerDemo/.DS_Store
Binary file not shown.
8 changes: 6 additions & 2 deletions JXTAlertManagerDemo/JXTAlertManagerDemo/ShowViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,12 @@ - (UITableView *)tableView
_tableView.contentInset = UIEdgeInsetsMake(64, 0, 0, 0);
_tableView.scrollIndicatorInsets = UIEdgeInsetsMake(64, 0, 0, 0);


// _tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
if (@available(iOS 11.0, *)) {
_tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
} else {
// Fallback on earlier versions

}
}
return _tableView;
}
Expand Down

0 comments on commit 5bbe0cb

Please sign in to comment.