Tapping on MKAnnotationView shouldn't show the callout view, instead it should show my custom view covering 3/4 of the iPhone's screen. I'm hiding the native callout view by canShowCalloutView = NO, but how to detect tap on that MKAnnotationView and then present my custom pop-up view? I guess i should implement didSelectAnnotationView and then show my custom view?
Tapping om MKAnnotationView should show my custom view
343 Views Asked by Slavcho At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in IPHONE
- UIWebView Screen Fitting Issue
- ios responsive design not working (too wide in portrait orientation)
- Setting View orientation to portrait is ignored
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- What is the limit for number of subscribers to a stream(publisher's) in opentok/tokbox iOS SDK?
- How to generate request format for WCF web service method for Mac and iPhone
- Difference between gethostname() and [NSProcessInfo hostName]?
- How to force close ipad/iphone keypad when input element is not focused using JS?
- iOS app rejected because of in-app purchase
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Labels properties changing in Xcode
- Terminating app due to uncaught exception
- Exchange plist data between 2 iPad using iCloud
Related Questions in MKMAPVIEW
- Reposition legal label ( MKAttributionLabel )
- How to add directions among two custom locations in Mapview for IOS 7 (objective c)
- MKMapView blocks main thread while used in UITableView
- Route not showing in MKMapView?
- How to pre-render MKMapView from other viewcontroller?
- Handle multiple MKAnnotations selected at the same time
- delay showing UIMapView until map fully loaded in Swift
- Programmatically move MKMapView - iOS
- iOS - How to animate the size of a subclassed MKAnnotationView?
- MKMapView setregion swift
- Filter array based on coordinate from mapview frame in objective C
- MKMapView: user location pin color change to gray automatically
- Adding a pin annotation to a map view on a long press in swift
- How to add Custom UIView as MKMapView Overlay
- Determine if coordinate is inside region (MKMapView, solve in PHP)
Related Questions in MKANNOTATIONVIEW
- Handle multiple MKAnnotations selected at the same time
- iOS - How to animate the size of a subclassed MKAnnotationView?
- Displaying MapView in next VC from Table view cell by taking Latitude and longitude keys from json?
- Tapping om MKAnnotationView should show my custom view
- How to rotate the navigation image according to the user direction in MKMapView?
- Is it possible to have a point annotation view that can be dragged OR selected?
- ARC semantic issue no visible @interface for 'MKPinAnnotationView' declares the selector 'initWithAnnotation:reuseIdentifier:'
- Map Issue for MKAnnotationView in iOS 7 and iOS 8
- Check if user has selected another annotation in map
- Disable all user interaction for MKMapView except for a given MKAnnotationView
- How to change subtitle of annotation when selected?
- Objective-c MKAnnotationView.rightCalloutAccessoryView has a memory leak
- MapKit Annotations not showing up on map
- MKAnnotationView not displayed when object creation is performed within a custom annotation class
- Show address in annotation when pin is dropped on map
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You have to set canShowCalloutView to Yes and annotationView.leftCalloutAccessoryView = yourView;
Please refer below link to understand how to set custom callout view:
Creating Custom Call out View