修复聊天充值界面
This commit is contained in:
Binary file not shown.
@@ -358,7 +358,10 @@
|
|||||||
NSString *title = [NSString stringWithFormat:@"充值不足%@元,您无法发送消息",canChatMoney];
|
NSString *title = [NSString stringWithFormat:@"充值不足%@元,您无法发送消息",canChatMoney];
|
||||||
UIAlertController *al = [UIAlertController alertControllerWithTitle:title message:@"" preferredStyle:(UIAlertControllerStyleAlert)];
|
UIAlertController *al = [UIAlertController alertControllerWithTitle:title message:@"" preferredStyle:(UIAlertControllerStyleAlert)];
|
||||||
[al addAction:[UIAlertAction actionWithTitle:@"去充值" style:(UIAlertActionStyleDefault) handler:^(UIAlertAction * _Nonnull action) {
|
[al addAction:[UIAlertAction actionWithTitle:@"去充值" style:(UIAlertActionStyleDefault) handler:^(UIAlertAction * _Nonnull action) {
|
||||||
[na pushViewController:[[NSClassFromString(@"QXRechargeViewcController") alloc] init] animated:YES];
|
UIViewController *vc = [[NSClassFromString(@"QXRechargeViewcController") alloc] init];
|
||||||
|
UINavigationController *naV = [[UINavigationController alloc] initWithRootViewController:vc];
|
||||||
|
naV.modalPresentationStyle = UIModalPresentationFullScreen;
|
||||||
|
[na presentViewController:naV animated:YES completion:nil];
|
||||||
}]];
|
}]];
|
||||||
[al addAction:[UIAlertAction actionWithTitle:@"取消" style:(UIAlertActionStyleCancel) handler:^(UIAlertAction * _Nonnull action) {
|
[al addAction:[UIAlertAction actionWithTitle:@"取消" style:(UIAlertActionStyleCancel) handler:^(UIAlertAction * _Nonnull action) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user