NSLog(@"设备名称是:%@", [YDDeviceTool getDeviceName]);
NSLog(@"设备类型是:%@", [YDDeviceTool getDeviceType]);
NSLog(@"设备外网ip是:%@", [YDDeviceTool getWANIPAddress]);
NSLog(@"设备内网ip是:%@", [YDDeviceTool getLANIPAddress]);
YDDeviceTool is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'YDDeviceTool'
houyadi, 314622981@qq.com
YDDeviceTool is available under the MIT license. See the LICENSE file for more info.