From 24cb5f1e93b77b744ab702d6a75c6d6b94bbf359 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期二, 20 六月 2023 13:49:41 +0800 Subject: [PATCH] faeture 视频回放横屏适配 --- EZSDK/EZSDK/EZ/Global/HDLEZConstants.m | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m b/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m index 365ba78..effd2de 100755 --- a/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m +++ b/EZSDK/EZSDK/EZ/Global/HDLEZConstants.m @@ -307,4 +307,14 @@ } return res; } + +/* 灏唍il杞负"" + */ ++(NSString*)turnNil:(NSString *)str{ + if (str == nil || str == NULL) { + return @""; + }else{ + return str; + } +} @end -- Gitblit v1.8.0