Spliting out ios and anroid and other attachment view