Я знаю, как добавить границу к кнопке в iOS 7 со следующим кодом:
[[myButton layer] setBorderColor:[[[UIColor grayColor] colorWithAlphaComponent:0.5] CGColor]];
[[myButton layer] setBorderWidth:1];
[[myButton layer] setCornerRadius:15];
Но как я могу добавить только одну границу? Я хочу добавить только верхнюю границу.