It could be probably a bug on iOS7. But the last button is not separated from the previous one
I found a way to make it work on iPhone and iPad in the least hacky way:
I assume that the missing separator is caused by the cancel button not being recognized as a separate case when adding it first or through the init.