kik.send inside a iframe fails on ios even when kik.js loaded -
kik.send
inside iframe
fails on ios when kik.js loaded works on android correctly.
included kik.js
<script src="http://cdn.kik.com/kik/1.0.9/kik.js"></script>
code snippet:
$('#kik_it').click(function(){ kik.send({ title : 'top offers', text : $('.description').html().trim(), pic : $('.coupon_big_image').find('img').attr('src'), data : {dealid : window.location.href} }); });
this known limitation in kik browser on ios. best workaround either remove need iframes (usually idea anyway) or have iframe reach parent window , send message there.
Comments
Post a Comment