You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of CGPointMake(x,y) and CGRectMake(x,y,width,height), use
ipmakepoint(x,y) //iPad make point
ipmakerect(x,y,width,height) //iPad make rect
To resize the point or frame to fit an iPhone or iPad screen.
Make sure not to call this on an already resized value, eg ipmmakerect on a view's frame then resizing that view's frame with ipmakerect(view.frame.origin.x..)