Load CPU IOS Swift

0

I need to know the CPU% load of the iPhone but I can not find anything in Swift or Objective-C. I have found something that uses% of the total CPU application. Someone could help me with information or something.

Thanks

    
asked by Bogdan 19.01.2016 в 08:25
source

1 answer

2

The simplest way is to use Instruments. You can find it in the following menu:

From there, you choose the "Activity Monitor" option and you can see everything.

On the other hand, when you run the application you have a "pseudoinstruments" built into Xcode itself:

Once in that section, you can click on "CPU", "Memory", etc. and you will see a control panel where you can see the status of the app at all times of the execution.

UPDATE 1:

If instead you want to take the info directly to the app you can use this link that explains it and is a good starting point: link

Anyway, be careful because Apple has approved an application, it does not mean that now you accept it in the AppStore

    
answered by 19.01.2016 в 11:16