Skip to main content
Inspiring
September 28, 2011
Question

iOS text performance,slow at first run

  • September 28, 2011
  • 1 reply
  • 503 views

Hi,

(iPod4 / GPU rendering)

I have a dynamic textField  (non-TLF) with numbers which  increment +1 on each ENTER_FRAME...like a fast counter.

For example  'tally' the score at the end of a game level, quickly counting up the scores.

My issue:

It often lags in the begining, but then quickly comes up to speed.

I reuse this textField, just adding/removing it from the display list as needed, never nulling it.

What can i do to speed this up?

It's able to handle it great, but once its off the display list for x amount of time, adding it back and starting up that counter lags a little. It does not lag on android GPU.

Is iOS needing to grab ahold of native text engine or something?

thanks!

This topic has been closed for replies.

1 reply

Known Participant
November 16, 2011

I'm running into something similar on a project today. Adding dynamic text fields to the project causes a noticeable performace drop for the entire app. Removing them and even nulling them doesn't seem to help. Anyone have a trick for using text fields efficiently?