Display picture in gallery [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I looked trough google and SO but did not find an answer to my question. I found a lot of topics about the Picker but I want to display an Image and not select one.
I have a Storyboard with various data, one of them being an ImageView with a scaled Image I receive from my database with Parse.
Now I want to display the full image when it is pressed. I know I could create a new View for this, but I was wondering if it would be possible to open this with Apple's Gallery or if there is alternative solution with Cocoapod that would simplify the displaying of the image.
I don't want to build a GUI just to view the full image and being able to zoom/share etc. if there is an already existing solution.

You could look into UIImagePickerController should only take a short time to implement and easy to get the image the user picks but you cannot change the appearance or extend the functionality.
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImagePickerController_Class/
EDIT: Due to my misunderstanding.
This GitHub has a very good and easy solution for simply displaying an image in a full screen manner with built in gesture control.
https://github.com/bufferapp/buffer-ios-image-viewer
One of the best parts is that you can initialise it with URL/ALAsset/PHAsset/UIImage all through the same initialiser.
BFRImageViewController *imageVC = [[BFRImageViewController alloc] initWithImageSource:#[image]];

Related

How to set adaptive constraints the right way [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm building an app and I want it to work on every iPhone and iPad.
How do I do to make adaptive constraints that change for each device?
I know you can do something to detect the screen size and adapt the constraints, how do I do that? Is there an easy and clear tutorial?
First of all constraints are depended on your project.when you can start project you take the view and add the 4 constant 0,0,0,0.After this if you can add multiple item in the page,you take the particular view for the particular item.If you take the particular view it can be easy for the set constraints.Very most important thing that you complete the design of your page and after create design you can set the constraints.It's can be easy way to set the constraints.Another most important thing is you can create your project in the small device like iphone-SE and after set constraints and run in medium device like iphone-6,7,8 and in the last run your program in big device like iphone-X,XSmax.

Popup UIPickerview for swift 3 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm wondering if anyone knows a Popup UIPickerView Control that looks like this exactly..
But instead of date picker I want it to be a Normal Picker. I have searched Cocoapods and Github and I always get Date pickers. And when I found a Popup Picker it was using Swift 1 and it was not updated.
So There must be something. I dont think that iOS users always have to implement the popup by them selfs everytime they need one for a view.
Please note that I am asking for this control for Swift 3
I think that you can create yourself.
Use a normal picker embedded in a classic UIView (with round corner) and bottom of this view you can add 2 button (cancel, done) and a label for the title.
In any case always try to consider the user experience not exactly the best...

How do I get the three line menu option in iOS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have seen the button on Android apps and I was curious if such a feature is available on iOS? I've thought about using a split view controller and then trying to trigger the detail via that button, but I am not sure how I would go about that. In short, I don't know how I would get the detail view controller to slide through the master. Click here to see what I mean
Any help is greatly appreciated. Thanks!
You need to add yourself, it's not native option for developer, it's called Hamburger Menu :)
Add your button in view with image you wished menu image. That's it. If you want menu library I recommend to use LGSideMenuController

Vertical Tab Bar in Swift [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'am pretty new on iOS. Now i work on app for iPad that need a vertical tab bar. I already looking around and found some tutorial and library. But it's already deprecated and get last update around 3-4 years ago. The tab bar that i want is something that will keep in place when i push or present another viewController, just like navigation controller does. Is there any trick or ready to use library for vertical tab bar? Thanks for the help.
There is another library not sure if you already seen it or not. But you might wanna check out https://www.cocoacontrols.com/controls/cksidebarcontroller
Hope it fulfill the requirement.

Photo/Image Viewer for Monotouch [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I've googled a bit but could not find a simple Image Viewer class to use in my MonoTouch app.
I don't need to show image thumbnails neither a complete photo album (with multiple photos).
I just need an image viewer to show an UIImageView, allowing the common fullscreen/zoom operations.
Obviously such viewer could be implemented using a UIViewController subclass with UIGestureRecognizer, UIScrollView and UINavigationBar trickery, but I don't want to reinvent the wheel. Does anyone know about an open source component available ?
It would also be useful to host such component in the new Xamarin Component Store
Thanks
Here it is.
Features:
Show both big images (larger than the screen) and small ones;
One tap to close view, two taps to zoom in/out. Pinch to zoom is also available;
Scrolling through available content. It's impossible to scroll image outside visible area. Thanks to UIScrollView's ContentSize property.
Suggestions for future:
I reduced code by removing UINavigationBar usage.
Also it's nice to add UIView's basic animation (fade in/out) when user opens/closes full screen image view.
Some relative info:
Solution was strongly inspired by this article.
As a starting point for patching I recommend Xamarin's article.
Any bug reports and suggestions are welcome!

Resources