Bugfix ios xib closes #1099