iOS11相册照片选择和裁剪的位置偏移问题解决:
[UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
两种解决方案
1.自然就是弹出相册时设置
[UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentAutomatic;
选择照片或者取消时在设置回来
[UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
2.设置导航栏不透明也能解决
mipc.navigationBar.translucent=NO;