中兴联通光猫F677V9设置桥接模式 其他

打开192.168.1.1 按照光猫后面的账号密码登录 点网络-宽带配置 记录链接名称 点认证注册-LOID认证 记录LOID配置里的 ID 找根牙签去捅光猫屁股的重置 (大概需要30秒) 打开192.168.1.1/cu.html 登录超级管理员 密码一般是 CUAdmin 基本配置-上行线路配置- WAN链接 选择默认的链接名称然后删除 选择新建...
然后呢 发布于 

iOS 中与硬件通讯数据转换 iOS

十六进制字符串转NSData -(NSData *)converHexStrToData:(NSString *)hexString { NSMutableData *data = [[NSMutableData alloc] init]; unsigned char whole_byte; char byte_chars[3] = ...
然后呢 发布于 

iOS UIAlertController点击空白处消失 iOS

#import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface UIAlertController (TapGesAlertController) - (void)tapGesAlert; @end #import "UIAlertController+TapGe...
然后呢 发布于 

iOS 按钮连续点击 iOS

#import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN #define defaultInterval .5 //默认时间间隔 @interface UIButton (YLBButtonTool) @end #import "UIButton+YLBButtonTool.h" #import <...
然后呢 发布于 

iOS 13 暗黑模式颜色适配 iOS

.h文件 #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface color : NSObject +(UIColor *)generateDynamicColor:(UIColor *)light...
然后呢 发布于 

Xcode 11打包上传时,一直卡在Authenticating with the App Store… iOS

1、打开终端输入 open ~/Library/Caches/com.apple.amp.itmstransporter/ 2、删除文件夹内的所有文件 3、在终端输入 /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/i...
然后呢 发布于