According to the rule, if the electronegativity difference between the two atoms in a bond is greater than 2 then it is ionic. While the electronegativity of tin is 1.8.