简体   繁体   English

复制iPhone的照片应用

[英]Replicating iPhone's Photos App

I'm looking to replicate the iPhone Photo's app behaviour, where it letterboxes the picture when zoomed out, but when zoomed in the bars no longer exist. 我正在尝试复制iPhone Photo的应用程序行为,即在缩小照片时将图片用字母表示,但在放大时不再显示。 What view layout (and math) do I need to achieve this? 我需要什么视图布局(和数学方法)?

Thanks, 谢谢,

This MWPhotoBrowser github project is probably your best bet. 这个MWPhotoBrowser github项目可能是您最好的选择。 We looked at doing the same but it really was quite a big job, so we used this instead. 我们考虑做同样的事情,但这确实是一项很大的工作,所以我们改用了它。 Saved lots of time. 节省大量时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM