HDL-ON_iOS/AppDelegate.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
HDL-ON_iOS/AppDelegate.cs
@@ -211,14 +211,8 @@ { //Shared.Application.FontSize = 12; //取消EditText默认密码输入方式 Shared.Application.IsEditTextContentTypePassword = false; //默认使用苹方字体 Shared.Application.IsUsePingFang = true; ////默认禁止音乐服务 //Shared.Application.IsMusicEnable = false; Window = new UIWindow(UIScreen.MainScreen.Bounds); rootViewController = new UINavigationController(new ViewController()) { NavigationBarHidden = true }; Window.RootViewController = rootViewController; HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
@@ -272,14 +272,14 @@ { Utlis.WriteLine("上传成功:" + imageUrl); //1.2如果是自定义图片删除之前的 if (!string.IsNullOrEmpty(imageView.ImagePath) && !imageView.ImagePath.Contains("LoginIcon/2.png")) if (!imageView.ImagePath.Contains("LoginIcon/2.png")) { Utlis.WriteLine("删除: " + imageView.ImagePath); System.IO.File.Delete(imageView.ImagePath); } //重命名保存 FileUtils.WriteFileByBytes(imageUrl, imageBytes); imageView.ImagePath = imageUrl; imageView.ImagePath = null; imageView.ImageBytes = imageBytes; //上传成功 Utlis.ShowTip(Language.StringByID(StringId.UploadSuccessfully));