-4

我已经编写了获取物理内存的代码。请告诉我它是否正确?

-(uint64_t)returnPhysicalMemory
{
    uint64_t phy = HW_MEMSIZE;
    NSNumber *bobsNumber=[NSNumber numberWithUnsignedLong:phy];

    return phy;
}
4

1 回答 1

1

通过以下链接。

http://iphonesdkdev.blogspot.in/2009/01/source-code-get-hardware-info-of-iphone.html

希望它能解决你的问题。

于 2012-12-28T09:16:13.573 回答