unexpected action sheet dismissing in portrait mode only

currently if my application support only portrait mode and I rotate the device, picker is dismissing unexpectedly