I want to guide the user through my iPhone app on first time use. I'd like to use a 'callout' or 'popover' pointing to what the user can do on each view. E.g. I'd like a callout/popover with text pointing to 'search' button in a UITableviewCell (see image mockup below with yellow box with text). The popover/callout disappears when pressed.
I've considered using this 3rd party popover library or a custom callout library but I'm not sure if these are the right approaches. Is there a recommended approach?
The right way is to use tooltips. There are atleast two third party libraries.
Tourtips, JDTooltips
Related
What I have - In Tapjoy, I can show Offers View which also shows a Missing Chips button at the bottom-right corner of the screen. Tapping the Missing Chips button, presents the Missing Chips View.
What I want - I want to show Missing Chips View directly on a buttons click (without showing the Offers View). Is there any API of Tapjoy which provides the similar functionality or is there any other way using which I can achieve the above functionality?
Thanks for reading the question, any suggestions, help is appreciated.
Unfortunately, there is no such API. You cannot make a "Missing [currency]" button that is separate from an actual OfferWall.
I would like to have a tool tip show up over a set of UIImageView when a user hovers over it. I don't see see any methods to leverage that do this in the UIImageView class.
How can I accomplish this?
Tool tip support is not directly available in iOS at this time. But you can accomplish the same effect with a couple of approaches:
Using an existing tool tip framework
There are open source solutions available that solve the problem, which you can pull into your own project and use and save a lot of time, as long as you ensure the license is compatible with Apple's policies (many of them are, but require that you credit the author somewhere in your project source). You could study their code to learn the technique. For example there is AmPopTip project on github
Here's a corresponding YouTube video:
Here is a similar StackOverflow.com question (there may be more):
Is it possible to show a tooltip in an iOS app?
Trying to code it yourself
You'd probably use a long press gesture, see Apple's Gesture Recognizers documentation and perform some kind of Hit Test to determine when the finger was over UIView subview (in this case UIImageView) and then time the entry of it, and how long it was held in that view without moving out or lifted.
At that point you'd want to overlay a UITextView or a class that contained one but drew a custom border around it, containing with the tool tip by either adding it as a subview over the top or near where the finger was placed, or make it the pop up as a separate UIViewController.
I am very first time developing the Spinner in iOS.
I searched a lot for default Spinner view in iOS, but failed.
What I get is, two ways to design spinner like view in iOS.
UIPickerview
Custom TableView which will be displayed on Click of DownArrow Button
I found the tutorial for UIPickerview.
But There are some OS orientation for this,
Means I want the UIPickerview in different Look & feel with selection style, also Scrolling of picker is not as I want.
So I was thinking to go for second options.
But Is there any other superior way to achieve this task,
As I think the second option is GOOD, but NOT BEST.
What I want is like the image below, its from Android,
I want to go for the same in iOS.
Thanks for help..
I think what you are looking is here
But I use RMPickerViewController which is more powerfull.
I'm using Xcode 5 and the latest iOS SDK and I'm having a really hard time figuring out how to create custom annotations with a clickable button.
All I need is a custom annotation with a button, that is shown when the user taps a pin on my MKMapView. Following some tutorials, I managed to create a custom class that loads a .xib file, this already works. However, the problem is, that whenever I try to click a button placed on the annotation view, the pin gets deselected. I would love to be able to design my annotation in a .xib file and not create it 100% programmatically. Is there any way of doing so?
Thanks,
Niclas
There is a great tutorial on maps on a site I used when I first got started into this section of iOS. It can be found here: http://www.raywenderlich.com/21365/introduction-to-mapkit-in-ios-6-tutorial ( Just an FYI, this is a great resource for learning more about iOS. )
Anyways, this paragraph should sound familiar (as to what you're after):
You’ve now made it so that in the callout when a pin is tapped on, there will be a button on the right hand side. When this is tapped, the mapView:annotationView:calloutAccessoryControlTapped: method is called. In this method, you grab the MyLocation object that this tap refers to and then launch the Maps app by calling the openInMapsWithLaunchOptions: method.
Just note that it is opening up the Maps app, but you can choose to do whatever you want really.
Later on, here are some other great links if you need them:
http://www.raywenderlich.com - This is where I started, recommend you do the same. Use their search box. They sell some privatized/self-published PDF books too if you like that.
http://www.cocoacontrols.com - You could probably find a control someone has already written with maps.. use the search, filter for iOS only.
http://www.nshipster.com - Great building block site
http://objc.io - Great site for getting into more low-level development.
in my app and I'm using UiImagePicker also implemented UiNavigationControllerDelegate for some customizations as the delete key and the back button.
When the user browses the images from its library and chooses one, if you AllowEditing is enabled, the image picker shows a screen for cropping the photo ..
At the bottom of this view seems to be a TabBar controller with two buttons:
Choose Cancel and
I wanted to know if anyone knows how to change the text of these buttons ...
Can you help?
There is no supported API that gives you the ability to customize those buttons.
Perhaps the best solution is to find a custom replacement for UIImagePickerController. There may be one on github or Google code.