constraints: tweak twitter example, fixes for ios7.