Is there a way/API to access built in IOS8 crop and rotate feature, i am creating an app in which i want to store an image after the user crops a particular selection of it. Can i use built-in crop/rotate IOS8 feature in my application using any obj-c/swift API..
If you are referring using code to corp and rotate then use CGContext API:
CGImageCreateWithImageInRect for corp.
CGAffineTransformRotate for rotate.
Related
We are working on a ov5640 sensor camera, we brought up the camera on our ARM platform(based on i.Mx6) and we tested the camera using v4l2 overlay application. Now we need to use that v4l2 application in the Qt5.
Is any application explaining us the method to create the overlay application (v4l2) on Qt? It will be helpful. We want to show the overlay inside a Qt widget(640x480) widget.
Any reference source or if methodology means will be helpful.
Is it possible to enable the default iOS 7 camera effects when using UIImagePickerController? I know that it's possible to control the flash and the image quality, but I cannot find if it's possible to add the effects when capturing an image.
No, UIImagePickerController does not offer any of the filters that you see in the iOS 7 Camera app. You would need to build those using Core Image's CIFilters, or something like GPUImage.
I'm new to iOS programming and one thing I don't get. I have an app idea, I paid for graphic designer to make me a UI design. He sent me a layered psd with custom designed controls, layout etc. Everything is custom designed, not using standard iOS looking controls as I wanted.
The question is how can be this custom design converted to iOS controls, layout and so?
If I consider a Facebook iPad application or Foursquare iPhone application, are that just "skinned" iOS standard controls, or is it written in HTML5 and just wrapped by Objective-C? If so, how?
Thank you
I recommend that you use Objective-C for native applications. Most controls provide support for "skinning" by allowing you to provide your own images. For example, UISlider has methods to set minimum and maximum image, the track image and tint color as well as the thumb image and tint color. Ray Wenderlich often provides great tutorials on his site that are worth checking out.
How to draw an overlay on the mapview?
See a discussion on MacRumors.
Brief version: use iphone-google-maps-component as a way around not being able to overlay on the mapview.
Basically iphone-google-maps-component is:
A component that you can add to your iPhone application to access all basic features of Google Maps (similar to Android's MapView). It uses a UIWebView in the background to load the HTML/Javascript version of Google Maps, and offers a set of Objective-C methods that mimic a subset of the original Javascript methods for controlling the map. It currently supports setting the center location and zooming & panning using the touch interface. You can see it in action
I have the latest Ipad compatible Monotouch library. I have upgraded my projects to use 3.2 SDK and MonoTouch 1.9 Alpha.
The docs say you need to change the Window in your XIB for the large iPad Window. I don't use XIB. I build my interface from code by constructing the object programatically. What should I be doing to get the large iPad style Window?
Nothing (I assume).
[UIScreen mainScreen].bounds (and its equivalent on MonoTouch) will be 768x1024 in iPad mode and 320x480 in iPhone mode. If your windows and views do not have any hard-coded values they should adopt to the new size naturally.
After further investigation, I found that I needed to add an entry into the info.plist file like so:
Information Property List
UIDeviceFamily
item 0 2
Once this is present the dynamic Window class that I create is the full iPad screen size.
I think it is basically telling the system that my app supports that device. Will have to find our more in the docs.