Skip to main content
Participating Frequently
January 24, 2017
Answered

Expansion files in iOS

  • January 24, 2017
  • 1 reply
  • 1073 views

Hello

Is there such a technology like expansion files, which the source files (images/audios/videos) are divided from the application project, in iOS?

My only option is to load external swf's?

Thank you!

This topic has been closed for replies.
Correct answer kglad

The application.

Well, rigth now i am trying to make the application get a sd card folder with the videos with no sucess.

I am trying this way:

var file:File = File.userDirectory.resolvePath("Empordef/");

var XML_URL: String = file.url + "/lista.xml";

var myXMLURL: URLRequest = new URLRequest(XML_URL);

var myLoader: URLLoader = new URLLoader(myXMLURL);

According to this website, this is rigth.

It returns me:

/storage/emulated/0/Empordef/lista.xml

I searched for, and this is the internal storage.

Does it returns me internal storage because i have no permissions to access to sd card?

How do i get the external storage?

Thank you!


try:

  1. varfile:File=File.documentsDirectory.resolvePath("/sdcard/");

1 reply

kglad
Community Expert
Community Expert
January 24, 2017

what are you trying to do?

Participating Frequently
January 24, 2017

Hello

The company which i work for want me to "divide" the iOS application in many "parts" to reduce it's size.

I searched about that and i found no answer, unless load external swf's.

Do i have another solution?

Thank you!

kglad
Community Expert
Community Expert
January 24, 2017

using external swfs won't reduce an app's size.

no one cares what size an app is.  it's not even listed in the app store.

what's the point of reducing its size?