Question

is there any way to get the users screen resolution with objective c?

Thanks.

Solution:

int width = [[NSScreen mainScreen] frame].size.width;
int height = [[NSScreen mainScreen] frame].size.height;
Was it helpful?

Solution

Check out NSScreen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top