removed some ios specific stuff that shouldnt be in app.