# iosSound from file

**URL:** <https://forum.xojo.com/t/iossound-from-file/22615>\
**Category:** iOS\
**Created:** [February 25, 2015, 9:38am UTC](https://forum.xojo.com/t/iossound-from-file/22615 "2015-02-25T09:38:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Sicurella](https://forum.xojo.com/letter_avatar_proxy/v4/letter/s/b5ac83/32.png) [@Stefan\_Sicurella](https://forum.xojo.com/u/Stefan_Sicurella)\
**Post date:** [February 25, 2015, 9:38am UTC](https://forum.xojo.com/t/iossound-from-file/22615/1 "2015-02-25T09:38:50Z")

</div>

It’s easy to load a image from file with

image=iOSImage.FromFile( file )

but how does i load a mp3, this does not work at all  
sound=iOSSound.FromFile(File)

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [February 25, 2015, 9:47am UTC](https://forum.xojo.com/t/iossound-from-file/22615/2 "2015-02-25T09:47:46Z")

</div>

[quote=170625:@Stefan Sicurella]It’s easy to load a image from file with

image=iOSImage.FromFile( file )

but how does i load a mp3, this does not work at all  
sound=iOSSound.FromFile(File)[/quote]

See [http://developer.xojo.com/iossound](http://developer.xojo.com/iossound) , first item…

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:39pm UTC](https://forum.xojo.com/t/iossound-from-file/22615/3 "2020-10-29T17:39:47Z")

</div>


