Recently I tried to use this method for my development in iOS10. By the way the function isn’t work in iOS10. It always returns false value. I hope that Apple fixs it as soon as possible.
In Swift3 you should cast all dictionary values to AnyObject if the objects are derived from NSObject. Refer the link
You must create InfoPlist.strings file and localize it. After that remember you need to key value to translate a text in infoplist file. "NSLocationWhenInUseUsageDescription" = "BlahBlahBlah"