iPhone heating up

Hi everyone.
I’m building an iOs game and it runs constantly at 60fps, but it uses a lot of battery and the phone heats up a bit. Any idea what could be the cause? I’m a bit frustrated because the performance is good (as said, 60fps). it just bothers me…

Thanks

It’s difficult to say what could cause that, but you can try several optimization techniques, measure performance with the Profiler, and use Instruments to test what is taking more energy:

You could start disabling all the different stuff in your game, then enable one by one and measure the energy consumption increase.

Thanks! I’ll read these and see what I find out