1. Unable to locate
Tick settings-Privacy-Location Services-your app-use the application period (always)
When you open the app, you'll see that you've ticked off the program (always) and canceled it ....
Originally iOS8 Need some method ...
If you need to locate only in the foreground, you need to call Requestwheninuseauthorization before calling Startupdatinglocation
If you need to locate in front of the background, you need to call Startupdatinglocation before calling Requestalwaysauthorization
Also add nslocationwheninuseusagedescription or nslocationalwaysusagedescription fields to the Plist file, and the value write "need to be located" on it, or it can be other, This hint text "needs to be located" will be displayed when asking the user for authorization.
if ([[[[Uidevice Currentdevice] systemversion] floatvalue] >= 8.0) { [_locationmanager Requestwheninuseauthorization]; } [_locationmanager startupdatinglocation];
2, simulator keyboard does not work
IOS simulator-hardware-keyboard Cancel tick connect Hardware keyboard
3, push does not work
if ([[[[Uidevice Currentdevice] systemversion] floatvalue] >= 8.0) { [app registerforremotenotifications]; Uiusernotificationsettings *settings = [uiusernotificationsettings settingsfortypes: Uiremotenotificationtypealert | Uiremotenotificationtypebadge | Uiremotenotificationtypesound Categories:nil]; [App registerusernotificationsettings:settings]; } else { [app Registerforremotenotificationtypes: uiremotenotificationtypealert | Uiremotenotificationtypebadge | Uiremotenotificationtypesound]; }
IOS8 problems encountered