The alerts appear for a split-second or did not show when application launches in project with ARC (without using ARC all it\'s OK). (I add CoreLocation framework and I impo
You are storing the location manager pointer in a local variable. So ARC is free to release that location manager before returning from this method.
If you wish to keep that location manager alive for longer you need to keep a longer term strong reference to it. Like an ivar or property.