Both the operating system have their own benefits. Recently in WWDC Apple launched iOS 9 which will have better security features such as better pin lock system Apple upgraded from 4 pin lock to 6 pin which makes it much difficult for hackers to hack it. In previous OS Versions there were only 10K possible security codes but this time the value is increases to 1 Million which is a huge amount.
Now If we come to Android M I am not a regular user of Android but I found that whenever Google launched their new version of Android every time it comes with new features and improvement.
Android is popular then iOS because of Open-Source it is a positive point for the company but at the same time it makes it negative too. Android App features paid apps but very less amount of people prefer to buy apps but whereas in Apple you have premium feel everything is well organised and the best it never lags.
Everything is on you what are you requirements and for what purpose you are buying the phone.
I am currently pursuing High School and planning to pursue career in Computer. Currently, I work on one of my blog - JTech Articles.