I built an old project in iOS SDK 6.1 in Xcode 5. However, the UIbutton is borderless when the app runs on an iPhone running iOS 7. I have checked the .xib is
.xib
Try this
set border width of button by using QuartzCore Framework
QuartzCore
#import button.layer.borderWidth=1.0f; button.layer.borderColor=[[UIColor blackColor] CGColor];