iOS11相冊照片選擇和裁剪的位置偏移問題解決:
[UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
兩種解決方案
1.自然就是彈出相冊時設置
[UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentAutomatic;
選擇照片或者取消時在設置回來
[UIScrollView appearance].contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
2.設置導航欄不透明也能解決
mipc.navigationBar.translucent=NO;