This line of reasoning applies to the states vs. the federal government for constitutional reasons. But there's nothing in the constitution that says that city law trumps state law.
Cities have the right to control guns within city limits IF state law allows them that lattitude. States probably should be cautious about dictating to the cities. But they have the legal right to do so, I believe.
That principle was confirmed when the NY State legislature killed the NY City commuter tax.
Slippery slope. When any sub-division of gov can be more restrictive than law allows the parent gov. SOME THING IS WRONG. Are we talking RIGHTS or Privileges here? I think as with most, the sheeple are confused. This is how people have lost their Rights and now don't know $h-t about squat.