ejeinc / MetalScope

Metal-backed 360° panorama view for iOS
MIT License
324 stars 72 forks source link

Question: Photo type check? #38

Open joninsky opened 6 years ago

joninsky commented 6 years ago

I did a quick once over of the API and put this library in my project.

First, amazing job. Really great stuff.

Question? Is their a way to check to see if a photo is a valid 360 photo? I have a UICollectionView to page through photos full screen. I want to show a UICollectionViewCell with the image inside a UIScrollView if the photo is not 360. Then I want to display a cell with this library if it is 360.

Would love to see a UIImage extension to check if it's a 360 photo or not.

joninsky commented 6 years ago

If the library supports panning and zooming UIImage's that are not 360 then I guess I can just use this for every photo.