You might want to use a resizable image:
[image resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0) resizingMode:UIImageResizingModeStretch]
Or, as AliSoftware suggested, set the extended edges of the edge to UIRectEdgeNone
(be sure to check if edgesForExtendedLayout
is edgesForExtendedLayout
(your application will fail if it is connected to assign this property running iOS 6.x):
if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)]) { self.edgesForExtendedLayout = UIRectEdgeNone; }
source share