iOS 7 like alert look [instead of current look]


#1

I’m new to Ionic, and I’ve been searching a lot for this, but couldn’t solve it:

$ionicPopup.alert({...});

I expected the ionic alerts to resemble the platform specific look’n’feel the users are used to. Instead ionic seems to provide one style for all platforms.

And I was a little perplexed, since the rest of the ionic UI stunningly mimics the iOS 7 design.

Is there a native iOS 7 like alert style somewhere hidden in the CSS which I’ve missed?


#2

Use directly alert("message") instead if you want to use the native style.


#3

Or you can use the cordova dialogs plugin

http://plugins.cordova.io/#/package/org.apache.cordova.dialogs


#4

@Niarklol
Haha, I was blind, I didn’t think of that. What a great solution.

@mhartington
Thanks for the great link!