# IOS webview \_target doesn't work

**URL:** <https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789>\
**Category:** How-to Discussions\
**Created:** [April 16, 2018, 2:49am UTC](https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789 "2018-04-16T02:49:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fusestarter](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@fusestarter](https://forums.fusetools.com/u/fusestarter)\
**Post date:** [April 16, 2018, 2:49am UTC](https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789/1 "2018-04-16T02:49:51Z")

</div>

when i click image which likes

 

not open window is okay, because i know fuse webview doens’t support tab or automatic interapp to another browser but it doesn’t create any event signal to handler in IOS(android is working) i intend to add urlchanged handler to url, so when popup url is detected use InterApp to open it another browser, but no signal = can’t handle it i think it can solved by html change

  

-\>

  

before it loading but i don’t have knowledge for this. can anyone to solve it?

---

<div class="post-metadata">

**Author:** ![Arturs](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/arturs/32/582_2.png) [@Arturs](https://forums.fusetools.com/u/Arturs)\
**Post date:** [April 17, 2018, 2:59pm UTC](https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789/2 "2018-04-17T14:59:16Z")

</div>

Hey.

Can you share minimal reproduction code, so we can copy-paste and run?

---

<div class="post-metadata">

**Author:** ![fusestarter](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@fusestarter](https://forums.fusetools.com/u/fusestarter)\
**Post date:** [April 18, 2018, 1:20am UTC](https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789/3 "2018-04-18T01:20:04Z")

</div>

i can’t share my real site and full code, but i write some code original question  
but i notice that my text code isn’t showing because of html error i write code few lines but isn’t showing  
i really hate this text editor

anyway i create very simple temp code, and find site which using target="\_blank"\> tag  
i think this is very simple and widely used error,

when i click some link  
then url log is showing  
but when i click link which has target="\_blank" tags  
then nothing happen  
no log created  
(but android is supporting)  
i want just want change original html codes to replace target="\_blank" to target="\_self"( i create this function very badly, )  
so remove all \_blank in html and i can click html to open url

OS : IOS(IPHONE)

```
<App>
	<JavaScript>
		var Observable = require('FuseJS/Observable'),
		url = Observable('https://html.com/attributes/a-target/');

		function onUrlChanged()
		{
					console.log(url.value);
		}

		module.exports = {
				url: url,
		    onUrlChanged: onUrlChanged
	  };
	</JavaScript>
	<ClientPanel>
	<NativeViewHost>
		<WebView Url="{url}" UrlChanged="{onUrlChanged}"/>
	</NativeViewHost>
</ClientPanel>
</App>
```

---

<div class="post-metadata">

**Author:** ![Arturs](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/arturs/32/582_2.png) [@Arturs](https://forums.fusetools.com/u/Arturs)\
**Post date:** [April 18, 2018, 12:44pm UTC](https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789/4 "2018-04-18T12:44:00Z")

</div>

Hey.

I have created issue [ticket](https://github.com/fusetools/fuselibs-public/issues/1149).  
Meanwhile you can try workaround from [this post](https://keypoint.ro/blog/post/opening-webview-links-native-browser).

Hope this helps.

---

<div class="post-metadata">

**Author:** ![fusestarter](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@fusestarter](https://forums.fusetools.com/u/fusestarter)\
**Post date:** [April 19, 2018, 12:32am UTC](https://forums.fusetools.com/t/ios-webview-target-doesnt-work/3789/5 "2018-04-19T00:32:47Z")

</div>

unfortunately  
i know that post, and that doesn’t help me.

i write above that

target="\_blank" html tag(in IOS) doesn’t create **url changed event**  
so above post’s “url changed” trigger doesn’t effect  
and what i need to is how to solve that

so what i need is, when i load page which has “\_blank”  
it automatically change to “\_self” tag  
so it create signal  
and i can handle it
