Re: Determining available or installed RAM on iOS device?
Re: Determining available or installed RAM on iOS device?
- Subject: Re: Determining available or installed RAM on iOS device?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 12 Feb 2014 11:13:27 +0700
On 12 Feb 2014, at 03:00, email@hidden wrote:
> On 11 Feb 2014, at 16:46, Jens Alfke <email@hidden> wrote:
>>
[...]
>> Failing that, is there at least API for determining how much RAM is installed on the device? This isn't reported anywhere in the Settings app, as far as I can tell.
>
> I think [NSProcessInfo.processInfo physicalMemory] should do the trick.
There is also sysctlbyname which returns for an iPad Air:
* hw.memsize: 975 MiB
* hw.physmem: 975 MiB
* hw.usermem: 799 MiB
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden