美文网首页
iOS Bug集

iOS Bug集

作者: 我是Damo | 来源:发表于2019-07-16 09:22 被阅读0次

1.No certificate for team matching found

修改build setting->Code Sign Identify ,选择不同的签名文件,有时不显示,点击Any iOS sdk 重新选择一下

2.# ImportError: No module named 'xlrd'

python2.X,
1.先安装pip:sudo easy_install pip
2.pip install xlrd

3.Could not find any information for class named ViewController

有缓存导致,clean一下

4./Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 1

(一) 先clean试试
(二) 看这段话上面的信息,有可能是新版本中xib的build版本过低导致,打开xib面板,点击右侧的inspector修改build for

5. [WARN]warning: no rule to process file xxx.h' of type sourcecode.c.h for architecture armv7 Answer

解决方法:这是因为检查到有.h文件在编译列表中了。所以只要在列表中去掉就可以了。 点击你的xcode项目文件,然后点击『Build Phases』,确保在『Compile Sources』中没有.h文件

6.typeof 编译错误

__weak only applies to Objective-C object or block pointer types; type here is 'int'

Xcode -> Build Settings -> C Language Dialect修改配置,C99改为GNU99,C99是不包含typeof的

7.[UIImage imageNamed:]取不到图像

可能Target Membership没有勾选

8.编辑状态下,cell底部出现蓝色分割线

cell.multipleSelectionBackgroundView = [UIView new];
cell.multipleSelectionBackgroundView = [UIView new];时,掩盖了分割线
非编辑状态下为selectedBackgroundView

9.如果使用xib时,拖线注意

一个xib中有三个view,拖线的时候要注意底下有没有view,可能会错乱,最好打开最右边的connection inspector
就算在第三个view上连线也会调到第一个上,可能是由于复制的关系,通过connectioninspector连接

10.第三方的软件打不开

新版Mac:sudo spctl --master-disable打开安全与隐私中的允许从任意来源下载(默认无这个选型)

11.<__NSArrayM: 0xb550c30> was mutated while being enumerated.

当程序出现这个提示的时候,是因为你一边遍历数组,又同时修改这个数组里面的内容,导致崩溃,不论是for,还是enum都需注意

12. This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.

原因:在异步线程中修改了UI

13.clang: error: linker command failed with exit code 1 (use -v to see invocation)

可能原因:手动拖入的.a文件不包含bitcode,设置bitcode为NO

14 cocopod导入cocoaAsyncSocket时发现错误没找到对应的文件

解决方法:在build setting->other linker flag中,加上$(inherited)即可。

15.target overrides the LIBRARY_SEARCH_PATHS build setting defined in

  • Use the $(inherited) flag, or
  • Remove the build settings from the target.

解决方法:在librarySearchPath中设置$(inherited)
原因:CocoaPod中环境设置和Xcode中冲突

16.The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.

解决办法:
一。1)点击工程 -> Product -> Scheme -> New Scheme -> Target选择第一个Name重新添加一个工程到模拟器

2)点击工程 -> Product -> Scheme ->Manage Schemes (如果你完成第一步就会有两个工程,将以前的删除掉)删除方法是选中不要的工程,点击左下方的“-”号

3)选中你新添加的工程运行即可

17.UITableview的分割线有一部分在滑动时消失

原因:UITableView的行高设置的小数点多位,计算流失了精度,使用round(height)

18.iOS10,UITextfiled点击时字体向下移动

解决方法:将字体改为Arial

19. Unable to process application at this time due to the following error: Missing or invalid signature.

i)检查系统证书“Apple Worldwide Developer Relations Certification Authority”是不是有效,没有
https://developer.apple.com/certificationauthority/AppleWWDRCA.cer下载,

ii)查看发布证书,注意如果修改显示简介里信任为总是信任是上传不上去的,必须是系统默认

20.UINavigationbar的背景图片偶尔消失的问题

现象:navigationbar设置了背景图片,全局没有设置tranlucent属性,点击cell跳转下一页,返回时,背景图片偶尔消失了,然后view自动顶到导航栏的0点

解决方法:将当前vc,包装在WrapNavigationController中,在包装一个WrapViewController将WrapNavigationController.view添加到View上去
push到当前页面时将根导航栏隐藏,这样显示的就是WrapNavigationController的导航栏了,每个视图显示的导航栏都是自己的导航栏,

老项目中只能个别控制器替换掉,在第一个WrapViewController和根控制器的侧滑设置,这样不会发生左侧图片不一致barbuttonitem错位的情况(即使一样的还是会有大约3pt的错位)

UIImage *image = [[UIImage imageNamed:@""] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
self.navigationItem.leftBarButtonItems = @[leftButton];

21.侧滑时,导航栏变黑

如果一个控制器有导航栏,另一个没有时,侧滑没有的控制器的导航栏会变成黑色

方法:可以使用RTNavigationController,原理:UINavigationController ->WrapViewController ->WrapNavigationController ->UIViewController的方法
根导航栏控制器控制页面间的跳转, 每个控制器都有自己的导航栏,WrapNavigationController包控制器负责每个页面的导航栏显示,UINavigationController控制界面跳转

22.iPhone 8 is busy: Preparing debugger support for FlycoIT的iPhone 8

将添加设备列表中的手机 unpaired -----> 重新连接USB ----> 信任

23.NSUrl中含中文

    NSString *urlStr = [model.menuImg stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    NSURL *url = [NSURL URLWithString:urlStr];

24 Showing Recent Issues ld: symbol(s) not found for architecture arm64

可能是没有实现@implement

25 CALayer position contains NaN: [160 nan]

frame中有为NaN的值

26svn already lock

点击cornerStone的Woking Copy中的clean

27读取bin文件

在6s Plus 11.2.6系统上(8plus上也有) ,读取一个33k的bin文件
[[NSFileHandle fileHandleForReadingAtPath:[fileLocalPath stringByAppendingPathComponent:fileName]] readDataToEndOfFile]

[NSData dataWithContentsOfFile:[fileLocalPath stringByAppendingPathComponent:fileName]];

读取文件大小,返回的byte数达到G,但长度显示的是33K左右,
但是在iphone7 10.3.3上返回的byte为33K,长度也为33k
,用以下方法可以返回正确的byte

[NSMutableData dataWithContentsOfFile:[fileLocalPath stringByAppendingPathComponent:fileName]];
[NSData dataWithBytes:[FileData bytes] length:FileData.length];(FileData.length为上述解析错误的返回值)

28 Error Domain=NSURLErrorDomain Code=-1005

可能原因:服务端的超时时间比较短,第二次发起连接时,客户端认为连接未超时,但服务端的连接已经关闭了,

有三种不同的方法可以解决这个问题:
i)在您的服务器上禁用KeepAlive,这将导致为每个新请求重新创建新连接
ii)保持KeepAlive为ON,增加KeepAliveTimeout的时间。它会更快但是,这将使您的服务器建立连接并减少您可以支持的并发用户数。
iii)客户端检测错误代码并立即重试。

29.NSString转float四舍五入错误,并且只会出现在小数点后一位四舍五入时

当NSString *value= @"136.5"时
[NSString stringWithFormat:@"%.f,[value floatValue]]结果为136;
NSLog(@"%.f",136.5); 结果为136

应该:NSLog(@"%.f",round(value.doubleValue)); //137

NSLog(@"%d",(int)(value.floatValue + 0.5));

//扩:
//15位,结果为13,
NSLog(@"%.f",13.499999999999999);

//16位,结果为14,,因为超过了double的精度范围了
NSLog(@"%.f",13.4999999999999999);

计算浮点数的时候,建议将值转化为double类型
使用NSDecimalNumber类
NSDecimalNumber为OC程序提供了定点算法功能,为了不损失精度设置为可预先设置凑整规则的10进制计算,因此对于要求更高的货币计算应该使用这个类,而不是浮点数(double)。

30.env: ruby_executable_hooks: No such file or directory

使用cocoapod的版本时提示找不到文件

原因:因为安装JDK时,删除了'/Users/admin/.bash_profile'中的pod的设备

执行vim ~/.bash_profile 将下面加上,再source ~/.bash_profile

[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

31.NSNotification异步问题

Notification的发送与接收处理都是在同一个线程中
我们在主线程中注册了通知的观察者,但在全局队列中post的Notification,并不是在主线程处理的。而是在全局队列中

- (void)testNotificationAsyn {
  
  NSLog(@"current thread = %@", [NSThread currentThread]);
  
 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleNotification:) name:TEST_NOTIFICATION object:nil];
  dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
      [[NSNotificationCenter defaultCenter] postNotificationName:TEST_NOTIFICATION object:nil userInfo:nil];
  });
    
//   current thread = <NSThread: 0x60400006cd80>{number = 1, name = main}
//   current thread = <NSThread: 0x604000267700>{number = 3, name = (null)}

 }

- (void)handleNotification:(NSNotification *)notification
{
   NSLog(@"current thread = %@", [NSThread currentThread]);

  NSLog(@"test notification");
}
  • 在不同线程中post和转发一个NSNotificaiton
- (void)testNotificationAsyn {
    //2
    NSLog(@"current thread = %@", [NSThread currentThread]);
    
    // 初始化
    self.notifications = [[NSMutableArray alloc] init];
    self.notificationLock = [[NSLock alloc] init];
    
    self.notificationThread = [NSThread currentThread];
    self.notificationPort = [[NSMachPort alloc] init];
    self.notificationPort.delegate = self;
    
    // 往当前线程的run loop添加端口源
    // 当Mach消息到达而接收线程的run loop没有运行时,则内核会保存这条消息,直到下一次进入run loop
    [[NSRunLoop currentRunLoop] addPort:self.notificationPort
                                forMode:(__bridge NSString *)kCFRunLoopCommonModes];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(processNotification:) name:TEST_NOTIFICATION object:nil];
    
    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
        
        [[NSNotificationCenter defaultCenter] postNotificationName:TEST_NOTIFICATION object:nil userInfo:nil];
        
    });
}

- (void)handleMachMessage:(void *)msg {
    
    [self.notificationLock lock];
    
    while ([self.notifications count]) {
        NSNotification *notification = [self.notifications objectAtIndex:0];
        [self.notifications removeObjectAtIndex:0];
        [self.notificationLock unlock];
        [self processNotification:notification];
        [self.notificationLock lock];
    };
    
    [self.notificationLock unlock];
}

- (void)processNotification:(NSNotification *)notification {
    
    if ([NSThread currentThread] != _notificationThread) {
        // Forward the notification to the correct thread.
        [self.notificationLock lock];
        [self.notifications addObject:notification];
        [self.notificationLock unlock];
        [self.notificationPort sendBeforeDate:[NSDate date]
                                   components:nil
                                         from:nil
                                     reserved:0];
    }
    else {
        // Process the notification here;
        NSLog(@"current thread = %@", [NSThread currentThread]);
        NSLog(@"process notification");
    }
}

//current thread = <NSThread: 0x604000063540>{number = 1, name = main}
//process notification

32 Umeng错误分析抓取不到数据

原因:NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler);自己处理了崩溃信息

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    NSSetUncaughtExceptionHandler (&MLUncaughtExceptionHandler);
    NSSetUncaughtExceptionHandler (&WMUncaughtExceptionHandler);
    return YES;
}

void MLUncaughtExceptionHandler(NSException *exception) {
    NSArray *arr = [exception callStackSymbols];
    NSString *reason = [exception reason];
    NSString *name = [exception name];
    //将崩溃原因保存到本地
    [[NSUserDefaults standardUserDefaults] setObject:reason forKey:@"reson2"];
    [[NSUserDefaults standardUserDefaults] synchronize];

}

void WMUncaughtExceptionHandler(NSException *exception) {
    NSArray *arr = [exception callStackSymbols];
    NSString *reason = [exception reason];
    NSString *name = [exception name];
    //将崩溃原因保存到本地
    [[NSUserDefaults standardUserDefaults] setObject:reason forKey:@"reson"];
    [[NSUserDefaults standardUserDefaults] synchronize];

}

上面的代码相当于有两个收集崩溃信息的地方 MLUncaughtExceptionHandler() 和 WMUncaughtExceptionHandler() ,但是当运行程序的时候回发现 MLUncaughtExceptionHandler() 不会收集到任何信息。因为 NSSetUncaughtExceptionHandler() 传入了两次函数地址,第一次函数的地址被替换掉了。

解决方案:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    static NSUncaughtExceptionHandler *_MLHandler;
    
    NSSetUncaughtExceptionHandler (&MLUncaughtExceptionHandler);
    // 保存MLUncaughtExceptionHandler异常的handler
    _MLHandler = NSGetUncaughtExceptionHandler();
    // 设置WMUncaughtExceptionHandler异常的handler
    NSSetUncaughtExceptionHandler (&WMUncaughtExceptionHandler);
    return YES;
}

void MLUncaughtExceptionHandler(NSException *exception) {
    NSArray *arr = [exception callStackSymbols];
    NSString *reason = [exception reason];
    NSString *name = [exception name];
    //将崩溃原因保存到本地
    [[NSUserDefaults standardUserDefaults] setObject:reason forKey:@"reson2"];
    [[NSUserDefaults standardUserDefaults] synchronize];

}

void WMUncaughtExceptionHandler(NSException *exception) {
    NSArray *arr = [exception callStackSymbols];
    NSString *reason = [exception reason];
    NSString *name = [exception name];
    //将崩溃原因保存到本地
    [[NSUserDefaults standardUserDefaults] setObject:reason forKey:@"reson"];
    [[NSUserDefaults standardUserDefaults] synchronize];
    _MLHandler(exception);
}

将之前对exception处理的handle进行保存,下一次处理的时候,重新调用之前的handle,将异常抛出给他们。

Umeng 应该也是用了上述方式对异常进行的处理,但是并没有将异常进行抛出,所以,当工程中使用了Umeng进行异常统计的时候,我们自己写的异常捕获有可能会失效。如果写在Umeng统计之前就会被Umeng替换掉,异常就无法捕捉。 但是,如果写在Umeng之后,就会造成Umeng统计失效。所以我们就需要使用上面的方式进行处理。

33.获取protocol失败

导入protocol头文件,但是通过,NSProtocolFromString和objc_getProtocl均返回nil
由于您的协议是#导入的,只需在编译代码中的某个地方执行@protocol(MyProtocolName),就足以确保协议对象在运行时存在。这样做的一个好方法是创建一个静态的NSDictionary,从已知的协议名称映射到协议对象。基本上,您将为已知的协议重新实现NSProtocolFromString,但它保证将编译那些协议对象。比如像:

+ (Protocol)remoteProtocolForName:(NSString *)name
{
    static NSDictionary *dict = nil;
    if (!dict)
    {
        dict = [[NSDictionary alloc] initWithObjectsAndKeys:
                @protocol(Foo), @"Foo",
                ...];
    }
    return [dict objectForKey:name];
}

34.UIGraphicsBeginImageContextWithOptions内存问题

频繁调用UIGraphicsBeginImageContextWithOptions,导致内存增高
解决方法:
//使用autoreleasepool嵌套

+ (UIImage *)imageWithContent:(NSString *)content frame:(CGRect)frame {
    @autoreleasepool {
        // 开启图形'上下文'
    
        UIGraphicsBeginImageContextWithOptions(frame.size, NO, 0);
        // 在原生图上绘制文字
        NSString *str = content;
        // 创建文字属性字典
        NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
        paragraphStyle.alignment = NSTextAlignmentCenter;
        NSDictionary *dictionary = @{NSForegroundColorAttributeName: [UIColor whiteColor],
                                     NSFontAttributeName: [UIFont systemFontOfSize:60],
                                     NSParagraphStyleAttributeName:paragraphStyle
                                     };
        // 绘制文字属性
        CGFloat x = 0;
        CGRect tempFrame = CGRectMake(0, 0, 0, 0);
        for (int i = 0; i < content.length; i ++) {
            NSRange range = [content rangeOfString:@"."];
            if (range.location < content.length && range.location == i ) {
                x += (i == 0 ? 0 : kDotWidth);
                tempFrame = CGRectMake(x + frame.origin.x, frame.origin.y, kDotWidth, frame.size.height);
            } else {
                x += (i == 0 ? 0 : kDigitalWidth);
                tempFrame = CGRectMake(x+ frame.origin.x, frame.origin.y, kDigitalWidth, frame.size.height);
            }
            str = [content substringWithRange:NSMakeRange(i, 1)];
            [str drawInRect:tempFrame withAttributes:dictionary];
        }
        
        // 从当前上下文获取修改后的图片
        UIImage *imageNew = UIGraphicsGetImageFromCurrentImageContext();
        // 结束图形上下文
        UIGraphicsEndImageContext();
        return imageNew;
    }
}

35.cell高亮时,UIImageView的背景颜色变透明

cell点击处于高亮状态UIImageView未设置高亮图片【导致不显示背景颜色】特别是透明的图片

将一共用纯色的图片设为背景图

+(UIImage *)imageWithColor:(UIColor *)aColor{
    return [UIImage imageWithColor:aColor withFrame:CGRectMake(0, 0, 1, 1)];
}

+(UIImage *)imageWithColor:(UIColor *)aColor withFrame:(CGRect)aFrame{
    UIGraphicsBeginImageContext(aFrame.size);
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetFillColorWithColor(context, [aColor CGColor]);
    CGContextFillRect(context, aFrame);
     CGContextSetAlpha(context, 1);
    UIImage *img = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    return img;
}

36.尺寸判断

打开设置 -> 显示 ->视图 ->放大会导致根据屏幕尺寸判断分辨率失败,
iphone7 的尺寸获取 为 320 * 568

37.手动设置UISwitch还是走了Value Changed方法

原因:因为判定touch结束需要时间,如果太快使用setOn:animation:方法会误判为touch.delay一下

38.Unable to boot device because it cannot be located on disk

删除设备的内容和设置。
xcrun simctl erase all

39 Reachability

有时有网,但返回的是不可到达

[Reachability reachabilityWithHostname:@"www.baidu.com"];

注:第一次进入根控制器,iOS10 网络访问未获得授权情况下,Reachability判断为NotReachable.是属于无网络状况(此时非常有可能是有网络的)

使用下面的方法,判断网络状态使用[reachability currentReachabilityStatus]

reachability  = [Reachability reachabilityForInternetConnection];

40 使用CAGradientLayer时将影响了子视图的颜色

使用 self.layer.insertSublayer(layer, atIndex: 0) 而不是addSublayer

41.cocoapod本地文件时,显示找不到其他文件的头文件

原因:查看cocoa pod中.podspec中有没有设置对其他文件的依赖,添加后,再pod install 一下,再.xcconfig中可显示查询路径

42.rvm安卓homeBrew错误

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force
Requirements installation failed with status: 1.

原因:文件大,当前网络慢

43.Undefined symbols for architecture XXX:

原因之一:没有链接lib库而报错,没有链接.framework静态库而报错
格式:"OBJC_CLASS_MobClick", referenced from: objc-class-ref in XXX.0 其中_OBJC_CLASS__MobClick中的MobClick就是我们引用的libMobClickLibrary.a中的一个文件。
解决方法:Linked Frameworks and Libraries 添加

原因之三:extern引用不存在的全局变量而报错
格式:
"_value" reference from :
-[XXXX method] in XXX.o

解决方法:全局搜索属性

原因之四:Compile Sources中没有添加对应的.m文件而报错

"OBJC_CLASS_ RCTSegmentedControl",reference from: objc-class-ref in XXX.o (maybe you meant ): OBJC_CLASS_XXX

44.xcode10 multiple command produce 'XXXX/XXXX.app'

在Xcode菜单栏选择File-- Workspace Setting把build system切换到 Legacy Build System,换言之就是切换成老的编译系统,就OK了。

45.pod spec中加载资源 ,UIImage imageNamed nil

1.有可能是缓存,clean ->pod install
2.可能项目中没有包含资源

46. Fatal: cannot do a partial commit during a merge

意思是不能部分提交代码,原因是git认为你有部分代码没有做好提交的准备

解决方法是

  1. 提交全部
    git commit -a
  2. 如果不想提交全部,那么可以通过添加 -i 选项,会将绿色 modify的文件都提交了
    git commit file/to/path -i -m "merge"
    上述情况一般出现在解决本地working copy冲突时出现, 本地文件修改(手工merge)完成后,要添加并提交,使得本地版本处于clean的状态.
    这样以后git pull就不再会报错.

47 tableview在debug模式下可以运行,在release模式下崩溃

现象:

- (void)tableView:(UITableView *)tableView cell:(UITableViewCell *)cell indexPath:(NSIndexPath *)indexPath 

返回__weak修饰的cell

原因:可能是debug和release的内存回收及分配方式的不同

48. CGFloat默认值

 CGFloat moveOffset;
#ifdef DEBUG
    NSLog(@"moveOffset debug initial value: %f", moveOffset);
#else
    NSLog(@"moveOffset release initial value: %f", moveOffset);
#endif
2019-01-25 15:28:58.352605+0800 Test[80628:11052096] moveOffset debug initial value: 134.000000

2019-01-25 15:30:20.311689+0800 Test[80654:11052973] moveOffset release initial value: 8.000000
Test was compiled with optimization - stepping may behave oddly; variables may not be available.

注:最好给基本数据类型设置默认值

49.Showing All Messages

Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons.
One possible cause is if there are too many (possibly zombie) processes; in this case, rebooting may fix the problem.
Some individual build task failures (up to 12) may be listed below.

cocoapod的原因
1.copy Pos resource中input和output中的引用路径名字太长,将包含项目的文件目录的命名简短或减少不必要的文件包含(亲测有效,升级1.6.1也可以);
修改. xcodeproj的文件夹的名字也成功(影响文件较多)
2.copy Pos resource中input和output文件太多了,官方建议使用bundle来管理图片
3.cocopod降级1.3(网上,没试验过)

50.The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

可能与1.6.0和1.5.3更改有关
i).升级cocoapod
sudo gem install -n /usr/local/bin cocoapods -v 1.3.1

ii)修改pbxproj文件
打开. xcodeproj中的project.pbxproj,

/* Pods */ = {
            isa = PBXGroup;
            children = (
            
            );
            path = Pods;
            sourceTree = "<group>";
        };

将pods前的path由Pods修改为name,
然后clean一下项目,在运行

屏幕快照 2019-05-09 下午3.01.14.png

相关文章

  • iOS Bug集

    1.No certificate for team matching found 修改build setting-...

  • iOS bug集

    【欢迎有解决方案的朋友留言回复】1、【未解决】Xcode10.2.1 Instruments Leaks 内存泄漏...

  • bug集

    “Error: spawnSync /Users/UserName/Desktop/Path/node_modul...

  • bug集

    The operation couldn’t be completed. (IDEPseudoTerminalDo...

  • BUG集

    汇总一些在平时开发中遇到的BUG,不定期更新 用AutoLayout有时候会出现: Probably at lea...

  • BUG集

    ps:自己平时学习的时候遇到的一些小bug,初学,共勉。 一、问题:注销与登录按钮不能实现切换 原因:1、设置bo...

  • IOS 12被发现 bug 可绕过锁屏访问通讯录和相册

    原文地址 研究人员最近发现最新的 iOS 12 和 iOS 12.1 beta 版本中的 bug,利用该 bug ...

  • iOS11全局适配automaticallyAdjustsScr

    一、bug展示 在iOS 11之下 UITableView创建方式如下: 二、bug原因 在新版iOS11中aut...

  • iOS顶部状态栏改变造成的bug解决

    iOS顶部状态栏改变造成的bug解决 iOS顶部状态栏改变造成的bug解决

  • QQ分享显示设备未授权(25105)

    bug现象:iOS13以下分享成功 iOS13分享失败bug解决:更新QQSDK,配置Universal Link...

网友评论

      本文标题:iOS Bug集

      本文链接:https://www.haomeiwen.com/subject/lsnlrxtx.html