views:

24

answers:

1

I am trying to do an upgrade path for a lite to full version of an application, that can store an indefinite amount of data (I dont want to do in app purchase).

I would like to be able to upgrade using a custom url without needing an online presence to cache the data to.

So was thinking of using a UIPasteboard object.

Does anyone know, or done any investigations on the max possible size of data stored to a UIPasteboard? There seems to be no apple documentation, that i can find, regarding this.

Will this vary from device to device? i.e. is it RAM limited?

I tried a 50MB file and know this fails (even in simulator) though a 5 MB file is OK. There is no way of knowing if it has failed until you come to get the data with dataForPasteboardType:

Also, has anyone done 2 app custom URLs that will do a kind of request/response inter app comms? I was thinking that i could support arbitrary sized data this way...

A: 

I'll answer my own question, after doing some investigation, it's 8MB. Device independent.

I have also managed to support upgrade of arbitrarily large amounts of data using 2 custom URLs and the openURL method recursively between apps. Tested up to 100MB - it doesn't look too pretty because it opens each app 12 times!

Does anyone know how to stop the open app animations?

Nick H247