Screenwidth screen height
+ (CGFloat) getScreenWidth
{
CGFloat swidth = [UIScreen mainScreen].bounds.size.width;
CGFloat sheight = [UIScreen mainScreen].bounds.size.height;
return MIN(swidth, sheight);
}
+ (CGFloat) getScreenHeight
{
CGFloat swidth = [UIScreen mainScreen].bounds.size.width;
CGFloat sheight = [UIScreen mainScreen].bounds.size.height;
return MAX(swidth, sheight);
}