Macrons in iPad 4, iPhone 4 and later
These devices and their operating systems have system wide keyboard(s) available by default. Mac OSX Lion can also create macrons this way.
Hold down the key for the vowel you want to macronise (Maybe a second). A small dialog will pop up showing you several options, including a macron.