Questions tagged [mwphotobrowser]

MWPhotoBrowser is an implementation of a photo browser similar to the native Photos app in iOS. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs to images online. The photo browser handles the downloading and caching of photos from the web seamlessly. Photos can be zoomed and panned, and optional (customizable) captions can be displayed. Works on iOS 3.2+.

61 questions
1
vote
1 answer

Thread 1 breakpoint 5.1 when use MWPhotoBrowser in my project

when I try to add 'MWPhotoBrowser' to my photo browser project, and I want make an Photo Grid view, but when I run it ,it was crashed, it motioned Thread 1 breakpoint 5.1, I have pasted my code below code of h.file: #import…
1
vote
2 answers

how to add rotate photo functionality to MWPhotoBrowser?

Below is my attempt. I added a rightBarButtonItem to the navigation bar. Then connected it with the method below. What am I doing wrong? When I click the button, the method is called, because I see the log. Nothing visible happens when it is called.…
user299648
  • 2,769
  • 6
  • 34
  • 43
1
vote
1 answer

MWPhotoBrowser errors on installation

I've installed MWPhotoBrowser using cocoapods but I'm getting the following errors: /Users/noor/Documents/Apps/Info.mu.final/Pods/MWPhotoBrowser/MWPhotoBrowser/Classes/MWPhotoBrowser.m:182:14: Property 'automaticallyAdjustsScrollViewInsets' not…
Noor
  • 19,638
  • 38
  • 136
  • 254
1
vote
2 answers

MWPhotoBrowser will not display photo

I'm trying to implement MWPhotoBrowser in my project. I've added all the delegates, but it still will not display the photo. Here's my didSelectRowAtIndexPath: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath…
jsmos
  • 497
  • 2
  • 5
  • 15
1
vote
1 answer

Redefinition of Enumerator

I am using the SDWebImage component in my project. Recently, I also decided to add MWPhotoBrowser (which uses SDWebImage). After installing MWPhotoBrowser I can no longer compile without receiving numerous errors. I am certain this is because…
mday
  • 427
  • 1
  • 7
  • 22
1
vote
1 answer

Linking static libraries to XCode Project libMWPhotoBrowser.a

I'm trying to add MWPhotoBrowser as a static library to my project. I've added MWPhotoBrowser.xcodeproj and the instructions for adding a static library are to know go to build phases and add libMWPhotoBrowser.a - I think this is a product of the…
Adam Jenkins
  • 51,445
  • 11
  • 72
  • 100
1
vote
1 answer

Error Using MWPHotoBrownser

I got this error when I'm using the MWPhotoBrownser and I have no idea how to fix it. Semantic Issue "Cannot find protocol declaration for SDWebImageDecoderDelegate" in the file MWPhoto.h #import #import…
1
vote
1 answer

Image dragging on a UIScrollView

A UIViewController is called when a user touches an image on a UITableViewCell. It is called using modalViewController. On this modalViewController is a UIScrollView, with another UIImageView in the middle, that fetches an image using NSDictionary…
n00bProgrammer
  • 4,261
  • 3
  • 32
  • 60
1
vote
0 answers

UIScrollView Height Not Working After Showing Modal

I'm retrieving json data from server. The json data includes some images and more text and last but not least json size is not predictable. Here is how I retrieve json: -(void)viewWillAppear:(BOOL)animated { if (self.jsonUrl == nil) { //…
0
votes
0 answers

How can i play / stream youtube video in MWPhotoBrowser

i want to stream youtube videos in MWPhotoBrowser in my iOS app, i searched a lot for this but did not got any success as same issue. If anyone have used or using this library please help.
iNoob
  • 144
  • 1
  • 15
0
votes
0 answers

How to display the latest image at first using MWPhotoBrowser?

May I know how to display the latest image first in app document directory using MWPhotoBrowser? I use below codes to save image in the app document directory and display the images. - (IBAction)saveButtonPressed:(id)sender { NSError…
Winter
  • 47
  • 1
  • 6
0
votes
1 answer

MBProgressHUD/MBProgressHUD.h' file not found

I only get this error when I build on my device (iPhone 6 and 5s). It popped up randomly today when I pod installed Firebase/Core. I've deleted it since. However, it works fine on the simulator. Can anyone help me with a fix?
Swapnil Dhanwal
  • 399
  • 2
  • 6
  • 17
0
votes
1 answer

Enable rotate for mwphotobrowser in portrait app

I have a fixed portrait app using objective-c, and i have a button click for open MWPhotoBrowser for browsing images. Now It works well in portrait mode but I want to make the MWPhotoBrowser for both portrait and landscape mode for rotate the phone.…
Winston
  • 321
  • 2
  • 3
  • 9
0
votes
1 answer

MWPhotoBrowser not loading image from web URL

I'm using MWPhotoBrowser to display a single image in my app. I've set the class of my view controller to MWPhotoBrowser in the main storyboard and I've added the following code but the image fails to load. let photos = NSMutableArray() let…
Swapnil Dhanwal
  • 399
  • 2
  • 6
  • 17
0
votes
1 answer

Can't scroll between images

For some reason I can't scroll between different photos, can someone spot my mistake? So here's my code: import UIKit import MWPhotoBrowser class TETSViewController: MWPhotoBrowser, MWPhotoBrowserDelegate { var photo = [MWPhoto]() …
Xernox
  • 1,706
  • 1
  • 23
  • 37