Canada's largest cities - Toronto and Vancouver - rank among the most unaffordable housing markets in the world A two-year ban on some foreigners buying homes in Canada has come into effect.