in startfocusingview:
if(imageView.contentMode == UIViewContentModeScaleAspectFill)
{
CGSize size;
size = [self sizeThatFitsInSize:finalImageFrame.size initialSize:imageView.image.size];
finalImageFrame.size = size;
finalImageFrame.origin.x = (focusViewController.view.bounds.size.width - size.width)/2;
finalImageFrame.origin.y = (focusViewController.view.bounds.size.height - size.height)/2;
}
you also need to check if content mode is scale to fill. worked for me.