MWPhotoBrowser
MWPhotoBrowser copied to clipboard
A simple iOS photo and video browser with grid view, captions and selections.
在iphoneX展示图片有问题 图片会放大 超过屏幕
i dont whant to use cocoapods, i like to install manually. How to install ? Because it have MANY ERRORS to build a app.
I subclassed MWCaptionView that has 4 buttons and used AutoLayout to handle orientation change. I initialize by code via [[NSBundle mainBundle] loadNibNamed:] and return it from captionViewForPhotoAtIndex:. When swiping through...
I need to change the color of the MWPhotoBrowser's navigation bar and tool bars. I don't see any properties to set values for these. Are they not implemented or am...
I have created simple browser with these 2 images let image1 = MWPhoto.init(image: UIImage.init(named: "home1")) let image2 = MWPhoto.init(image: UIImage.init(named: "home2")) I created an array and have same images and...
Here is the setup I have so far: ``` import UIKit import MWPhotoBrowser class PhotoViewController: UINavigationController, MWPhotoBrowserDelegate { var photos = [MWPhoto]() override func viewDidLoad() { super.viewDidLoad() retrievePics() initiateBrowser() }...
``` MWPhotoBrowser *photoBrowser = [[MWPhotoBrowser alloc]initWithDelegate:self]; photoBrowser.displayActionButton = YES; photoBrowser.displayNavArrows = YES; photoBrowser.zoomPhotosToFill = YES; photoBrowser.enableSwipeToDismiss = YES; photoBrowser.hidesBottomBarWhenPushed = YES; [photoBrowser setCurrentPhotoIndex:index]; [self.navigationController pushViewController:photoBrowser animated:NO]; ``` but the photo...
After importing MWPhotoBrowser into my swift project. I'm getting the following warning: /[....]/Pods/MWPhotoBrowser/Pod/Classes/MWPhotoBrowserPrivate.h:57:5: 'MPMoviePlayerViewController' is deprecated: first deprecated in iOS 9.0 - Use AVPlayerViewController in AVKit.
When i try to rotate on an image, it shows up a new image It seems to happen only on iPhone X Is there any workaround for this ?