Reachability not working as expected

前端 未结 6 926
不思量自难忘°
不思量自难忘° 2021-02-19 02:53

Downloaded Reachability from Apple, using this method to check for an active connection:

-(BOOL)isReachable{

    Reachability *r = [Reachability reachabilityWit         


        
6条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-19 03:40

    I have a same issue with the Tony Million's Reachability : network status was always set to NotReachable. I fix it with adding the SystemConfiguration Framework

    Hope it helps

提交回复
热议问题