Skip to content

maxNum=1 + 预览会崩溃 #4

@work4blue

Description

@work4blue
 case 5:
        {
            //选择 5张图片+相机
            imgVc.imageClipping = YES;
            imgVc.showCamera = YES;
            imgVc.maxNum = 1; //<------设为1,隐藏footer 出错
            imgVc.maxScale = 2.0;
            imgVc.minScale = 0.5; 
        }

2018-08-04 22:00:32.730794+0800 BLImagePickerVCDemo[376:28900] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'
*** First throw call stack:
(0x182886d8c 0x181a405ec 0x182886c6c 0x186a16d1c 0x186a08bbc 0x186a0916c 0x18c464360 0x18c475a18 0x100b7f2a0 0x100b7ecfc 0x18c49ee64 0x18c54ce1c 0x18c54c2d8 0x18c54bc14 0x18c54b6a4 0x18c53f3a8 0x18c4976f4 0x186a0dfec 0x186a1217c 0x18697e830 0x1869a6364 0x1869a71e4 0x18282e910 0x18282c238 0x18282c884 0x18274cda8 0x184731020 0x18c769758 0x100b70ad8 0x1821ddfc0)
libc++abi.dylib: terminating with uncaught exception of type NSException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions