Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5732

同样的函数功能在 app下执行正常,在 dylib 下执行不正常

$
0
0

@deegar wrote:

同样的函数功能在 app下执行正常,在 dylib 下执行不正常!
代码如下:

    /**
 获取系统版本信息

 @return return value description
 */
-(NSString*)getDevicesysVersion
{
    //系统版本
    NSString *sysVersion = [[UIDevice currentDevice] systemVersion];
    return sysVersion;
}

在 app 中能正常返回系统个版本,但是我将函数放在 dylib 中,执行调用后,返回 null!

求大神指点迷津...

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5732

Latest Images

Trending Articles



Latest Images