安装的应用程序大小VS苹果商店应用程序的大小 [英] Installed App Sizes Vs Appstore app sizes

查看:481
本文介绍了安装的应用程序大小VS苹果商店应用程序的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是一个已经困扰我的问题。有一天,我检查了我妻子的电话和Pinterest的应用正在吃的空间达2 GB,而在AppStore的实际应用是26.8 MB。我知道一定有用户/日志在其应用程序的文档目录倾倒但让我想到她的电话上的其他应用程序怎么过大量相比,应用程序的大小是在AppStore的是什么存储的用户数据/故障数据。

因此​​,这里是我如何做到这一切的问题使用objectiveC


  1. 样X code上安装 iHasApp 显示的所有可用的应用程序设备。有没有一种方法我检查他们多少空间以GB / MB等?


  2. 有没有一种方法我可以去查询该应用建筑面积在AppStore的,并告诉用户其哎只适用于X MB的AppStore的?


  3. 我知道我可以得到安装在设备上的所有应用程序有没有方法可以让我检查时,上次启动或由用户使用的应用程序?


  4. 我可以检查多少空间,照片/视频和音乐被占用?


我所试图做的到底是看我是否可以让一个应用程序,显示用户他们得到的装置上安装了,并让自己的一些明智的决定。

到目前为止,所有我能找到的是如何在设备上检查总使用和自由空间,让安装的所有应用程序的列表。


解决方案

  

样X code iHasApp显示器的所有已安装在设备上可用的应用程序。有没有一种方法我检查他们多少空间以GB / MB等?


没有。正在使用iHasApp这些API只能用于检查选择的应用程序是否present - 基本上,所有你能问?是安装ThisApp,你可以建立一个部分通过运行检查了大量的常用应用程序安装的应用程序列表。

有没有办法让其他应用程序启动或磁盘使用情况的信息。我不知道最后的推出,甚至连设备都跟踪。

考虑到这一点,大部分的其他问题无关。这是不可能做你从iOS应用程序后,在做什么。

Here is a question that had been bothering me. The other day I checked my wife's phone and pinterest app was eating up 2 GB of space while the actual app in the appstore is 26.8 MB. I know there must be user / log / crash data that is dumped in its apps document directory but that got me thinking how many other apps on her phone had large amount of user data stored compared to what the app size is in appstore.

So here are my questions of how to do all this using objectiveC

  1. Sample Xcode iHasApp display's all the available apps installed on a device. Is there a way I check how much space they are taking in GB/MB etc?

  2. Is there a way I can go query that app build size in appstore and tell the user hey its only X MB in appstore?

  3. I know I can get to all the app installed on a device is there a way I can check when was an app last launched or used by a user?

  4. Can I check how much space photo / video and music is taking up?

What I am trying do in the end is to see if I can make an app that shows user what they got installed on their device and make some informed decisions themselves.

So far all I am able to find is how to check total used and free space on a device and get a list of all apps installed.

解决方案

Sample Xcode iHasApp display's all the available apps installed on a device. Is there a way I check how much space they are taking in GB/MB etc?

No. The APIs being used by iHasApp can only be used to check whether selected applications are present -- basically, all you get to ask "is ThisApp installed?", and you can build up a partial list of installed applications by running that check for a large number of common applications.

There is no way to get launch or disk usage information for other applications. I'm not sure last launch is even tracked at all by the device.

With this in mind, most of your other questions are irrelevant. It is not possible to do what you're after from an iOS application.

这篇关于安装的应用程序大小VS苹果商店应用程序的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆