Generally speaking Apple is the opposite of Windows. The reasons for this go back a long way, and it's Windows that didn't think about it, they simply wanted to do it the opposite to the Mac.
I say this because it's useful to understand that some initial thought went into the order of affirming an action, or escaping from it.
Apple's designers decided we think in terms of the right side being to move forward in activity, so everything on the right is an affirmative action, a doing of something. Left is escaping, cancelling, etc... going backwards.
Having said that, for saving and cancelling a save action, generally speaking, you should be using a popover, either left/right:
Or you can do the more modern way, vertical, with a separation for Cancel: