Skip to content

AstroDule/DS_screenSize

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

DS_screenSize

Objective C solution to find out the exact model of iPhone or iPad based on actual width and heigth of the device. Here is the code to use it:

    // fetch proper size of the screen for the device at hand
    DS_screenSize * ds_screenSize = [[DS_screenSize alloc] init];
    int newWidth = [ds_screenSize screenWidth];
    int newHeight = [ds_screenSize screenHeigth];

About

Objective C solution to find out the exact model of iPhone or iPad based on actual width and heigth of the device.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published