1 2 3
CGRect initialFrame = CGRectMake(0, 0, 100, 100); UIEdgeInsets contentInsets = UIEdgeInsetsMake(0, 0, 0, 10); CGRect paddedFrame = UIEdgeInsetsInsetRect(initialFrame, contentInsets);