I want to show a fullscreen popup dialog to display a user-scaleable image already displayed as a thumbnail in a list screen. How can I smoothly scale the image from the thumbnail, and return to its original position when I close it?
Related
In Android, on the click of a button I get a screen coming up (the one on the left with just the First Name and Last Name) and on click of the more button the other fields are also displayed (the image on the right).
I tried to achieve this by loading another view on the click of the button, but this shows a view completely filling the screen and not like the one in the image with limited height and the background view being greyed out.
Also to get a screen like the one on the left I made their height constraints equal to 0, but though it showed just 2 textfields, the screen filled the whole screen and not like the one on the left.
Any idea as to how this can be achieved?
To show custom transition while presenting a controller i.e.
your first requirement - a view completely filling the screen & not like the one in the image with limited height and the background view being greyed out.
you can use UIViewControllerAnimatedTransitioning.
I have created a sample here:
https://github.com/pgpt10/Custom-Animator
I'm using UIimagePicker to select image and display it to UIImageview, however something weird is going on. If i use the image picker and select a photo and add it to the image view and change orientation of the iphone the imageview image resets to the default image. but if i select the image again using UIimagePicker everything works fine the image stays.So this happens only the first time orientation changes while the view is loaded. Any thoughts?
I want to implement the function such that there's a image on the screen, when the image is tapped it then displays in full screen mode, and when tapped again in full screen mode, it back to the original size, like the following demo, how to achieve that?thanks
before:
after:
I am using the default ios camera in my app. I don't want to create an overlay for the whole camera, but I would like to change something the edit view that shows after the user takes a photo. Normally, it shows a square to crop, but I would like it to show a circle how would I do this.
I'm using a UIImagePicker to take a picture and browse the Camera Roll.. I also added a link to mail the picture which is displayed in a popup window. The attached image comes up in it's native size (which is pretty enormous). What I want to do is scale down that image.. but only for the MFMailComposer's view. When send is selected I want the full image to be sent.
The attachment can only be specified before showing the MFMailComposer view and that's the attachment it will show. Usually, it tries to fit the image within the bounds of MFMailComposer view.
Do you mean to say you have to scroll left, right and bottom to view the complete image ?