regionMonitoringAvailable
全部标签 regionMonitoringAvailable在iOS7中被弃用。我们应该使用什么来代替? 最佳答案 CLLocationManager的头文件声明您现在应该使用[CLLocationManagerisMonitoringAvailableForClass:]:Determineswhetherthedevicesupportsmonitoringforthespecifiedtypeofregion.IfNO,allattemptstomonitorthespecifiedtypeofregionwillfail.您传入要监视
regionMonitoringAvailable在iOS7中被弃用。我们应该使用什么来代替? 最佳答案 CLLocationManager的头文件声明您现在应该使用[CLLocationManagerisMonitoringAvailableForClass:]:Determineswhetherthedevicesupportsmonitoringforthespecifiedtypeofregion.IfNO,allattemptstomonitorthespecifiedtypeofregionwillfail.您传入要监视