How to enable location services in iOS 8

Recently, a very common issue of location manager services was found in one of our iOS8 app. The core bug is that, although using regular working code for enabling location service, the snippet didn’t functioned. And to the worst, it happened only with the devices...