Prefab instantiating at wrong position in mobile

[158335-untitled.png*|158335] game is 2d.
It works well when I run the game in unity editor but in mobile prefab instantiate position is wrong!!!
my game parent is canvas and made by UI elements;
please help me

GameObject obj = Instantiate(tilePrefab,wordLine*.GetComponent<RectTransform().anchoredPosition,Quaternion.identity);*


Try setting the parent first and then set the position.