Is it possible to have an map view in xamarin ios with an image view overlaying it, so you cannot see the actual map, but on top of the image view are Annotations and custom pins, if it is possible can someone help me or provide references?
Related
I want to build a similar view as seen in the iOS Camera app, but I don't know which UI-Elements were used.
It can be found in the Instagram Story section as well.
Edit:
It should have the same behavior.
I tried to accomplish this with an UICollectionView. I'm adding UIButtons to the view but I don't know how to make the 'drag & stop' behavior. Maybe there is a delegate method or so.
A small explanation or some ideas would be helpful. I don't need code.
That's a custom control. You could create it using a horizontal scroll view containing multiple UILabel objects, each of which has an attached UITapGestureRecognizer.
You might be able to find a third party library that does what you want. Try Cocoa Controls.
I am new to Xcode (started a few days ago).
I'm trying to find a way to get a few photos or videos in a display where the user can scroll or tap through as they desire. There will be multiple viewControllers each with a different set of photos.
Is there any existing UI type data types I can just drag and drop to make this work? Or is this out of range of the capabilities for someone not using code specifically.
I know Java, C, C++, MATLAB, etc. but never have toyed with Objective-C until now. Point being, I should be able to follow any logic you can throw at me, but I'm unfamiliar with the GUI and layout of Xcode as a whole.
This is what I currently have.
This is what I want. Perhaps with functionality to tap to full screen the image or swipe to go to another image. (This image was made with photosop. I don't actually have the picture file in Xcode because I don't know how)
SOLVED: Placed desired images in "Supporting files" content folder inside Xcode. This allowed me to select which photo I want displayed in which ImageView. To fix the proportionality issue where photos in Simulator are far too large, I simply added height and width constraints along with some other centering aspects and got the desired result.
Add UICollectionView in your view and set flow of collection view is horizontal make cell size that you want to keep.
Take a look at UICollectionViewController where you can display multiple cells with embedded views for your images, and consider segueing between them via a UINavigationController.
Edit: Now that you've added screenshots, I'd recommend using a UICollectionView embedded on your subclass of a UIViewController instead of a UICollectionViewController. This should give you more flexibility.
I'm looking for a way to display the transit/subway lines in a MapKit view. I'd basically like the same view as the "Transit" view in the Maps application. I can't find the right overlay or map type. Thanks!
Transit map type is not available yet. You might have to customize your own mapView.
I am looking to add Windows phone tile effect to my Application's Dashboard ViewController, where user can resize the tile and reposition it and delete it, just a ViewController like the attached image. Is there any open source or samples available?
You can achieve that ordering by using a collection view with a custom UICollectionView layout.
More on customising layouts can be found in Apple Documentation Creating Custom Layouts
I'm working with a 3rd party maps vendor and would like to create an overlay for this map to display arbitrary content. I already have callout pins created, but am looking to expand that with truly any kind of content I want to put over the map.
From what I understand, this could be done by using a scroll view and tiling, but it has been a very long time since I worked with that. Are there any projects I can take a look at to understand how to create a scroll view with tiled/reusable subviews?
Here's how I see it working - I receive a JSON from web service, it contains a class of an item I want to display and a position. The overlay instantiates appropriate views and adds them over the map, potentially reusing and managing appearance/disappearance of components as the user scrolls the map.
Maybe there are already some mechanism built into iOS to handle overlays for arbitrary content?