Ensure photo zooming is set correctly after page reuse.
Ensure photo zooming is set correctly after page reuse.

NIPhotoScrollView's setZoomingIsEnabled: checks whether an image is set
before allowing the zoomingIsEnabled property to affect its internal
scroll view's zoom.

This is usually fine whilst scrolling to the left of the album to get
the next pages, however when scrolling back and loading previous pages
whose images have been cleared due to prepareForReuse, the call to
setZoomingIsEnabled: is too early to have the intended effect.

This patch remedies this by setting the property only after any
potential image is set on the page.

Arcank/nimbus,djMax/nimbus,dachaoisme/nimbus,weiyanwu1984/nimbus,SuPair/nimbus,bangquangvn/nimbus,michaelShab/nimbus,xiaohongjun0509/nimbus,jverkoey/nimbus,compositeprimes/nimbus,liuwu/nimbus,chanffdavid/nimbus,mohsinalimat/nimbus,DreamHill/nimbus,veue/nimbus,weiyanwu1984/nimbus,Arcank/nimbus,kisekied/nimbus,cnbin/nimbus,SuPair/nimbus,panume/nimbus,panume/nimbus,treejames/nimbus,weiyanwu1984/nimbus,LcongGitHub/nimbus,JyHu/nimbus,JyHu/nimbus,Guokr1991/nimbus,marcobgoogle/nimbus,dachaoisme/nimbus,andaluz/nimbus,quyixia/nimbus,andaluz/nimbus,bangquangvn/nimbus,pilot34/nimbus_fork,chanffdavid/nimbus,Arcank/nimbus,bangquangvn/nimbus,michaelShab/nimbus,tranhieutt/nimbus,treejames/nimbus,kviksilver/nimbus,bogardon/nimbus,kisekied/nimbus,dmishe/nimbus,pilot34/nimbus_fork,JyHu/nimbus,Guokr1991/nimbus,andaluz/nimbus,zilaiyedaren/nimbus,dmishe/nimbus,marcobgoogle/nimbus,dieface/nimbus,cnbin/nimbus,DreamHill/nimbus,kviksilver/nimbus,zaichang/nimbus,WeeTom/nimbus,liuwu/nimbus,liuwu/nimbus,michaelShab/nimbus,bangquangvn/nimbus,bangquangvn/nimbus,treejames/nimbus,xiaohongjun0509/nimbus,compositeprimes/nimbus,kisekied/nimbus,xiaohongjun0509/nimbus,zilaiyedaren/nimbus,0xced/nimbus,dieface/nimbus,pilot34/nimbus_fork,0xced/nimbus,michaelShab/nimbus,Guokr1991/nimbus,DreamHill/nimbus,mohsinalimat/nimbus,andaluz/nimbus,0xced/nimbus,WeeTom/nimbus,cnbin/nimbus,djMax/nimbus,kisekied/nimbus,quyixia/nimbus,jverkoey/nimbus,tranhieutt/nimbus,dachaoisme/nimbus,djMax/nimbus,bogardon/nimbus,ycaihua/nimbus,ycaihua/nimbus,jverkoey/nimbus,Guokr1991/nimbus,dieface/nimbus,compositeprimes/nimbus,liuwu/nimbus,bangquangvn/nimbus,LcongGitHub/nimbus,bogardon/nimbus,DreamHill/nimbus,SuPair/nimbus,panume/nimbus,dmishe/nimbus,veue/nimbus,kisekied/nimbus,JyHu/nimbus,dmishe/nimbus,compositeprimes/nimbus,pilot34/nimbus_fork,panume/nimbus,dmishe/nimbus,dieface/nimbus,kviksilver/nimbus,andaluz/nimbus,mohsinalimat/nimbus,WeeTom/nimbus,SuPair/nimbus,zilaiyedaren/nimbus,mohsinalimat/nimbus,JyHu/nimbus,bogardon/nimbus,liuwu/nimbus,liuwu/nimbus,andaluz/nimbus,kviksilver/nimbus,kviksilver/nimbus,panume/nimbus,tranhieutt/nimbus,SuPair/nimbus,weiyanwu1984/nimbus,bogardon/nimbus,Guokr1991/nimbus,hanangellove/nimbus,jverkoey/nimbus,cnbin/nimbus,hanangellove/nimbus,LcongGitHub/nimbus,marcobgoogle/nimbus,jverkoey/nimbus,xiaohongjun0509/nimbus,ycaihua/nimbus,veue/nimbus,tranhieutt/nimbus,dieface/nimbus,ycaihua/nimbus,marcobgoogle/nimbus,DreamHill/nimbus,SuPair/nimbus,tranhieutt/nimbus,treejames/nimbus,JyHu/nimbus,dachaoisme/nimbus,JyHu/nimbus,djMax/nimbus,chanffdavid/nimbus,cnbin/nimbus,pilot34/nimbus_fork,WeeTom/nimbus,xiaohongjun0509/nimbus,kviksilver/nimbus,weiyanwu1984/nimbus,LcongGitHub/nimbus,quyixia/nimbus,LcongGitHub/nimbus,mohsinalimat/nimbus,chanffdavid/nimbus,djMax/nimbus,dmishe/nimbus,compositeprimes/nimbus,quyixia/nimbus,hanangellove/nimbus,hanangellove/nimbus,xiaohongjun0509/nimbus,dieface/nimbus,treejames/nimbus,ycaihua/nimbus,kisekied/nimbus,djMax/nimbus,pilot34/nimbus_fork,quyixia/nimbus,LcongGitHub/nimbus,michaelShab/nimbus,zaichang/nimbus,hanangellove/nimbus,0xced/nimbus,veue/nimbus,marcobgoogle/nimbus,jverkoey/nimbus,Arcank/nimbus,pilot34/nimbus_fork,mohsinalimat/nimbus,jverkoey/nimbus,ycaihua/nimbus,quyixia/nimbus,Arcank/nimbus,zaichang/nimbus,zilaiyedaren/nimbus,marcobgoogle/nimbus,veue/nimbus,michaelShab/nimbus,tranhieutt/nimbus,panume/nimbus,zaichang/nimbus,WeeTom/nimbus,Arcank/nimbus,dachaoisme/nimbus,zilaiyedaren/nimbus,Guokr1991/nimbus,zaichang/nimbus,marcobgoogle/nimbus,compositeprimes/nimbus,chanffdavid/nimbus,0xced/nimbus,zilaiyedaren/nimbus,bogardon/nimbus,treejames/nimbus,bogardon/nimbus,weiyanwu1984/nimbus,WeeTom/nimbus,0xced/nimbus,cnbin/nimbus,Arcank/nimbus,dachaoisme/nimbus,quyixia/nimbus,zaichang/nimbus,hanangellove/nimbus,DreamHill/nimbus,compositeprimes/nimbus,chanffdavid/nimbus