# $windows.alert() on iPhone running IOS 10

**URL:** <https://forum.ionicframework.com/t/windows-alert-on-iphone-running-ios-10/64893>\
**Category:** ionic-v1\
**Created:** [September 28, 2016, 11:25pm UTC](https://forum.ionicframework.com/t/windows-alert-on-iphone-running-ios-10/64893 "2016-09-28T23:25:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![r123456789](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@r123456789](https://forum.ionicframework.com/u/r123456789)\
**Post date:** [September 28, 2016, 11:25pm UTC](https://forum.ionicframework.com/t/windows-alert-on-iphone-running-ios-10/64893/1 "2016-09-28T23:25:20Z")

</div>

Using Ionic 1.

The alert message is displayed however above the message is a line in bold titled ‘index.html’.

Does anyone know why?

---

<div class="post-metadata">

**Author:** ![BGecko](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@BGecko](https://forum.ionicframework.com/u/BGecko)\
**Post date:** [September 29, 2016, 1:59am UTC](https://forum.ionicframework.com/t/windows-alert-on-iphone-running-ios-10/64893/2 "2016-09-29T01:59:02Z")

</div>

because you are using the standard browser alert and it shows the web address in the header/title. In this case, index.html. Use the Ionic Popup [http://ionicframework.com/docs/api/service/$ionicPopup/](http://ionicframework.com/docs/api/service/%24ionicPopup/) It works in the browser and on mobile. You can set the title and message, even use html in the body.

RGecy
