Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 18, 2013, 11:29 AM   #1
RookieAppler
macrumors member
 
Join Date: Mar 2012
Size limit of my app.

I want to know what is the size limit of any app on iPad and iPhone. My app will have to store many customers data (1000s). Is there any limit on the app.
What is the maximum storage capacity of an iOS app. I read some documents and it says 2GB. Is that 2GB the app can be. Like when one installs the app it can be 2GB and thats it?I want to know how much data I can store for the app.I am going to have to retrieve data from SQL server. I want to save it on my iOS device. Can some one explain it in simple terms..I am new to Apple development. More questions to come.Thanks
EDIT: my app is an in-house enterprise app.

Last edited by RookieAppler; Jan 18, 2013 at 11:35 AM. Reason: Added information about what kind of my app is
RookieAppler is offline   0 Reply With Quote
Old Jan 18, 2013, 11:43 AM   #2
KoolStar
macrumors Demi-God
 
KoolStar's Avatar
 
Join Date: Oct 2006
Location: Kentucky
Send a message via AIM to KoolStar Send a message via Skype™ to KoolStar
Check out page 167 of the iTunes Connect Developers Guide.

App Size Tips (For iOS Apps Only)

Apps can be as large as 2GB, but be aware of download times.
Make efforts to minimize file size.
Remember there is a 50MB limit for Over the Air downloads. (See changes below)
__________________
"Innovation distinguishes between a leader and a follower." : S.J.
KoolStar is offline   0 Reply With Quote
Old Jan 18, 2013, 11:49 AM   #3
RookieAppler
Thread Starter
macrumors member
 
Join Date: Mar 2012
@Koolstar. Thanks. I read that. So that 2GB, is the limit of how big my app can be to download at the time of installation. Correct?. I want to know how much space can app take up on the device. I will be downloading 1000s of rows of data. So i have to store it on Core Data on my device. So is there a limit there. My app wont be that large. Currently the estimate size on Organizer says 1MB. But once my app is installed, it will start getting data (1000s of rows of data) and store it on the device. I want to know what is the limit to store that data. How much can my app occupy core data space..Please help. Thanks
RookieAppler is offline   0 Reply With Quote
Old Jan 18, 2013, 11:53 AM   #4
KoolStar
macrumors Demi-God
 
KoolStar's Avatar
 
Join Date: Oct 2006
Location: Kentucky
Send a message via AIM to KoolStar Send a message via Skype™ to KoolStar
I dont know that there is a size limit of an app after install. If you think about it the photos app can have more than two gigs, and dropbox for example can use up to 10gb if you let it store locally. So i would think there is not a size limit.
__________________
"Innovation distinguishes between a leader and a follower." : S.J.
KoolStar is offline   1 Reply With Quote
Old Jan 18, 2013, 11:56 AM   #5
Gav2k
macrumors 601
 
Gav2k's Avatar
 
Join Date: Jul 2009
Once installed the limit is the devices avalible storage space
Gav2k is offline   0 Reply With Quote
Old Jan 18, 2013, 12:05 PM   #6
RookieAppler
Thread Starter
macrumors member
 
Join Date: Mar 2012
@KoolStar. Ok . So what i am understanding is its limited by space on the device. No limit as to how much my app can occupy. My ipad device is of 64GB. Currently it says 56.3 GB available. If i install my app and pull data then it can go upto saving data to all that 56.3GB.Is it correct? I also have a flixster app on my iPhone. So i save movies to it. Right now i have 2 movies on it each about 1gb. So now my question is how can i download that much data. I currently pull data from SQL server in XML format. I know how to do JSON. How would one proceed to saving that much data..i am talking 17000 and more rows of data.
RookieAppler is offline   0 Reply With Quote
Old Jan 18, 2013, 02:43 PM   #7
xStep
macrumors 68000
 
Join Date: Jan 2003
Location: Less lost in L.A.
Quote:
Originally Posted by RookieAppler View Post
How would one proceed to saving that much data..i am talking 17000 and more rows of data.
That's an implementation detail of your choosing. You have indicated you intend to use Core Data. There is nothing stopping you from placing it into one massive flat file, which may be required between download, parsing, and final destination of Core Data.

I suggest you download that data in some kind of logical group so that upon failure and retry you can download the reminder instead of the whole thing.
xStep is offline   0 Reply With Quote
Old Jan 18, 2013, 02:50 PM   #8
KoolStar
macrumors Demi-God
 
KoolStar's Avatar
 
Join Date: Oct 2006
Location: Kentucky
Send a message via AIM to KoolStar Send a message via Skype™ to KoolStar
Quote:
Originally Posted by xStep View Post
That's an implementation detail of your choosing. You have indicated you intend to use Core Data. There is nothing stopping you from placing it into one massive flat file, which may be required between download, parsing, and final destination of Core Data.

I suggest you download that data in some kind of logical group so that upon failure and retry you can download the reminder instead of the whole thing.
I concur.
__________________
"Innovation distinguishes between a leader and a follower." : S.J.
KoolStar is offline   0 Reply With Quote
Old Jan 18, 2013, 07:16 PM   #9
RookieAppler
Thread Starter
macrumors member
 
Join Date: Mar 2012
Ok. So how do i put it in one massive flat file. I am using asp.net web services. This would be a web service returning data in JSON format. I have to put it in a file and transfer it over to my iOS app. How do i do that?I have never done that. Can someone give me an example..Its very important. Please help. Thanks
RookieAppler is offline   0 Reply With Quote
Old Jan 20, 2013, 04:40 AM   #10
Albright
macrumors regular
 
Join Date: Aug 2011
Maybe this is an obvious question, but is just doing the database stuff server-side and passing just the results to your app not an option? Do you really need the entire database contents on the device? Does it really need to be usable without an internet connection?

If all the data really must be on the device, then how I'd probably go about it is to write a Mac app (probably just a CLI one) which would read a structured dump (say, in CSV or SQL dump format) of the database contents and import that into a Core Data database file, then just copy that actual Core Data data file to the device - I wouldn't try to do the importing of the database contents on the device. I'm still a Core Data n00b, though, so there's a chance that what I just suggested wouldn't work or even make sense.
Albright is offline   0 Reply With Quote
Old Jan 20, 2013, 12:42 PM   #11
xStep
macrumors 68000
 
Join Date: Jan 2003
Location: Less lost in L.A.
Look at the docs for json and nsfilemanager. A few classes also have read and write and read capability, such as NSData.

Check out this tutorial: Working with JSON in iOS 5 Tutorial
http://www.raywenderlich.com/5492/working-with-json-in-ios-5
xStep is offline   0 Reply With Quote
Old Jan 20, 2013, 11:00 PM   #12
xArtx
macrumors 6502a
 
Join Date: Mar 2012
For a very quick and easy way to get different txt/csv files into the program for testing,
you can have your program look at the clipboard when it opens.
That came in handy when I wrote an app for sorting a list at work.
The file was being emailed to me anyway, so I opened the file in QuickOffice
and just copied the attachments contents to the clipboard before opening my program.

Not suggesting that as a long term solution though, and I don't know what the limit
of the clipboard is either.
xArtx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Tags
app, device, ios, limit, size

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
All iPads: sketching: canvas size limit? mnya iPad 3 Jan 7, 2014 12:28 PM
Documents Folder Size Limit? mikegml Mac mini 2 Oct 26, 2013 07:09 AM
Limit imessage size degraff iPhone Tips, Help and Troubleshooting 5 Sep 28, 2013 05:19 PM
G5 physical drive size limit, is there one? orestes1984 PowerPC Macs 25 Oct 23, 2012 11:08 PM
iOS 6: OTA Size Limit for LTE? FelixDerKater iOS 6 11 Sep 18, 2012 10:44 AM

Forum Jump

All times are GMT -5. The time now is 01:12 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC