UIImagePickerController and pre-selected photo - uiimagepickercontroller

I am working with a UIImagePickerController. A page in my app can display a photo. When it does, I would like to be able to let the user edit that photo. I see how UIImagePickerController allows you to select a photo from all the photos available. Is there a way I can give the UIImagePickerController a specific photo and instruct it to let the user begin editing that photo? Thanks.

No, this can't be done with UIImagePickerController. What editing do you wish to allow on the photo? If it is just cropping then put it in a UIScrollView and let the user zoom and pan. Crop the image based on what they do. If you want more editing capabilities then you have more work. Look into 3rd party solutions such as the Aviary SDK.

Related

Devexpress AccordionControl add Item to favourite Item

I want to achieve this kind of functionality in AccordionControl
In my AccordionControl there are all screens showns. user can open any screen using AccordionControl
I want functionality :enter image description here
User can Add any screen from AccordionControl to My favourite
From My Favourite the listed screens can be opened
My Favourite can be stored & remain as it is
User can add or remove item to My Favourite
can you help me for this task?
I have no Idea how to do this?
can you please help me for that? If possible then can you please give any rough application for this task?
C# .NET

Some buttons in web page

I want to create a webpage of good messages and it should allow the user to customise the background colour and font and also to share it. The message should change on every refresh (I'll add the messages).
User should be able to scroll down.
Can anyone help me?

opencms workspace (edit buttons) not displaying

I am a newbie in opencms in Tomcat6. I got assigned to review an issue that one of the project is encountering.
In opencms, after we login as Admin to edit the content, the button (a red and white small circle) at the top right hand corner is not showing. Usually, when the button is available (after login), other icons are shown at the top of the page (e.g. edit, info etc) to manage the content.
Please let me know if have any idea.
Thanks in advance ... DB
Did you checked if you´re in the offline Project? You can switch between Online and Offline. When you are in the Online Project you cant edit anything.

Qt Screenshot sharing app - How to select the area of a screen

I am trying to code an app in Qt for capturing and then sharing the screenshots. For now my application captures the screenshot, shows a preview and saves it. I am yet to do the upload part. but before that I would like to be able to select the area of the screen of which the screenshot needs to be captured.
I tried searching and I couldn't find any helpful articles or documents in Qt. So can anyone help me?
PS: The idea is to create a similar app like lightshot and several other similar tools.
Thanks in advance
There are two methods that you can use for this: -
1) Capture an image of the screen and then display that, full screen to the user, essentially allowing the user to crop the image.
2) A more commonly used method is to create a full-screen, topmost window that has no title bar and is transparent. This allows the user to drag out an area, which you can draw an outline to represent the area the user requires.
I recommend the 2nd method and creating a transparent window is simply a matter of changing the window flags, as you can see here.

Add share button to app page

I have created my app which just shows an image. Below the image I would like to invite people to Share by displaying a Share button. If they do share, the image is replaced by another image. I have worked out how to display the Share button but I can't work out how to display the next image if they have shared. I'm new to app development and will appreciate any assistance. Maybe there is a tutorial somewhere that I have been unable to find.
By sharing do you mean liking? If so, then search for fan-gate.
Here's a great tutorial on it:
http://www.youtube.com/watch?v=fBBnrtG0hAw

Resources