In object:setFocus() document --> http://docs.coronalabs.com/api/type/StageObject/setFocus.html
there is some description like below:
When multitouch is not enabled (default), StageObject:setFocus() works as follows: StageObject:setFocus( obj, nil ) behaves like StageObject:setFocus( nil ) StageObject:setFocus( obj, touchID ) behaves like StageObject:setFocus( obj )
Is this statement correct?
StageObject:setFocus( obj, nil )
Shouldn’t it be this instead?
StageObject:setFocus( nil, touchID )
Or I misunderstand something?