Alert macro for IOS