Prefab instantiating at wrong position in mobile

[158335-untitled.png*|158335]hello.my 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);*

obj.GetComponent().SetParent(GameObject.FindGameObjectWithTag(WichWordLine(j)).GetComponent(),false);
*

Try setting the parent first and then set the position.