about the api of UIImagePickerController in iOS 5 - ios

I overlay the UIImagePickerController with my design, and i set the showsCameraControls = NO, the zoom bar will not show both in iOS 4 and iOS 5, but the function of zoom will work in iOS 5, I can use two of my fingers to zoom in/out, but I don't want this function, so how can i stop the zoom function? I can not find this API in iOS 5 developer file, so please help me.thanks

I am not sure what you mean by 'zoom'.
Are you looking for -[UIImagePickerController allowsEditing]? Set it to NO, and the image simply is shown. Set to YES, and you can 'zoom' into the image, and import only that area of the image.

Related

Here Map SDK IOS (Premium) tap on the marker

Good afternoon, who once worked with heremap sdk premium for ios. How do I make it possible to click on the NMAMapMarker? What they have written in the documentation does not describe it, but maybe I'm wrong.
there are different option available for NMAMapMarker to use.
This represents a marker used to display an icon on a geographical position on a map. The map handles proper placement of icons on the screen as well as panning and rotation.
+mapMarkerWithGeoCoordinates:
+mapMarkerWithGeoCoordinates:icon:
+mapMarkerWithGeoCoordinates:image:
coordinates
icon
draggable
draggingOffsetEnabled
anchorOffset
-initWithGeoCoordinates:
-initWithGeoCoordinates:icon:
-initWithGeoCoordinates:image:
-setAnchorOffsetUsingLayoutPosition:
-setSize:forZoomLevel:
-setSize:forZoomRange:
-resetIconSize
Check for more details : https://developer.here.com/documentation/ios-premium/3.18/api_reference_jazzy/Classes/NMAMapMarker.html#%2Fc:objc(cs)NMAMapMarker(im)initWithGeoCoordinates.
Please revert with your code implementation in case of any further concern.

iOS 7 3D gallery transition effect

How can I implement in iOS 7 the transition effect in the link below ?
http://www.jqueryscript.net/demo/3DGallery/index.html
Thanks!
Examine https://www.cocoacontrols.com/controls/icarousel to see how it's done - you could in fact just use this library in your code.

how to take a UIView screenshot faster?

I'm making a dictionary app, which allows user find a word definition by touch the word in screen, and there will be a magnifier on screen and follow user's finger. I have implement it by take a screenshot of view and assign the image to maginifer image view, which is a UIImageView, however, in order to take a screenshot, the method [self.layer renderInContext:c]; cost too much time, is there any other way to do it ?maybe openGL will help?
after profiling my app with instruments->core animation, it is only 9 fps showing magnifier, but it will 30 fps if showing the system default magnifier in a UITextView, I don't know why the system is so fast
You can use exact same view in magnifier view, and change position to visible words.
There are new methods in iOS 7 that are highly optimized :
– snapshotViewAfterScreenUpdates:
– resizableSnapshotViewFromRect:afterScreenUpdates:withCapInsets:
– drawViewHierarchyInRect:afterScreenUpdates:
However they are not available in previous versions.

Is there/what is a UIImagePicker allowsEditing equivalent for Windows Phone SDK?

At the moment, I am in the process of trying to convert my iOS app over to Windows Phone 8, however, in my iOS app, I used the UIImagePicker's allowsEditing method to get what happens in the image below.
In the image below, the user can resize the picture they have selected so they can use only the part of the picture they selected in the app, while also the picture they select gets cropped into a square for the app to easily use too.
My question is, now that I am making the app using the Windows Phone 8 SDK, is there a simple method to get this same functionality, or will I have to program this functionality in myself?
Thank you very much.
Jon.
You should use the PhotoChooserTask with the PixelHeight and PixelWidth properties:
photoChooser.PixelHeight = 612;
photoChooser.PixelWidth = 612;

Zoom image in blackberry Torch

I want to zoom image in blackberry torch.For this i am using ZoomScreen predefined class.It working but my problem is i need a screen which can contain header,some text and then one image which can be zoom in and out.
Thank you
ZoomScreen extends MainScreen, so you can set a title and a status for it by adding setTitle() and setStatus() functions. You can use normal adds too. Did you try this and did not work?

Resources