Added timer in iOS samples