Results 3 issues of zevwings

过滤canOpenUrl为`/`的`pathComponentKey`

BHRouter 调用`canOpenURL` 时,使用`URL.pathComponents`获得的`pathComponents`会存在`/`,直接导致校验`pathComponentKey`是否为Class时,提前退出。 判断代码,当`pathComponentKey`为`/`会报错。 ``` Class mClass = NSClassFromString(pathComponentKey); if (!mClass) { flag = NO; *stop = NO; return; } ``` 建议添加一行过滤代码 ``` if ([pathComponentKey isEqualToString:@"/"]) { return; } ```

根据你的Demo 调试到该行: service discoverCharacteristics:@[macCharcteristicUUID] withBlock:^(MPPeripheral *peripheral, MPService *service, NSError *error) 获取到的characteristics 为空,包括MAC电脑,苹果手机登,都无法获取到MAC地址。