How to implement hover over hints for iPhone app? - iphone

I have an iPhone app that I would like to add some help hints to. I've seen this in other apps where you might hover over a text field or button and a popup appears indicating to the user what is supposed to be entered or done for that field or button.
Can anyone provide any suggestions or examples?
Thanks in advance.

iPhones don't have that kind of thing because you can't detect when somebody is hovering their finger over the screen, only when you touch it.
If you're looking for ways to explain things to the user, take a look at one of the design patterns libraries, such as the edu walkthroughs on Mobile UI Patterns.

Related

Lion style non-modal alert example for iOS

Xcode4 introduced the gray-rounded-square style non-modal alerts that momentarily appear as required. For an example, see 'Build Succeeded'. iirc, this style of non-modal alert is also used elsewhere in Lion.
Now, also iirc, I believe I saw some official iPhone sample code showing how they recommend this effect is achieved in iPhone Apps, but I can't find it again. I'd like to use in my App this to achieve a consistent style.
If someone recalls what I'm talking about, I'd appreciate a link. Thanks.
I think you're talking about the bezel notification style? On iOS, I know SSToolkit has support for such a display (under HUD View).
Another way: This uses MBProgressHUD and provides sample code.
I think you can do it using a momentary UIActivityIndicator. Something like this
EDIT: or this
EDIT: The idea is the same, a custom activity indicator. The above answer gives you some more specific links to your problem. But well it is an activity indicator you're looking for.

Zooming only an image in mobile Safari

I'm looking to see if anyone has experience with this. I'm a developer first and a designer second, so this is really not my strongest suit.
I have a project I'm working on where the goal is to get image and text side-by-side in landscape mode on the iPhone. I'd like to be able to zoom in on the image using a pinch like normal, but not zoom in on the text as well while that is happening. I don't know if this is even possible or what kind of hacks it would take to get it working.
If someone thinks this is bad in general from a UI perspective, I am open to suggestions.
I have considered keeping two copies of the image (low and high res) and then swapping them out inside of div with an overflow: scroll; so users can get a zoomed version and then scroll around. It doesn't give you the full effect of zooming, but it might accomplish a similar goal. I don't know if this would work either.
If anyone has suggestions or experience on the subject, please chime in. Thank you!
To do this in mobile safari you would probably have to use javascript. Theres a jQuery plugin here: http://plugins.jquery.com/project/pinch
Might be of some help
If you want to use Mobile Safari, then you will need a touch framework like jTouch to simplify things.
Natively, you should put your image and text inside a UIScrollView, and return the image view in the the viewForZoomingInScrollView: (in the scroll view's delegates) to the image view.
Is that what you want?

iOS - UIDocumentInteractionController and adding a view

So I have an idea for something just for fun I want to try and was wondering if someone could give some insight whether it would be possible or not.
Basically, I want to try and use a UIDocumentInteractionController and place a clear overlay view over top of that that would serve as sort of a drawing board. Is this something feasible to do? I think it would be cool to try and make it so the user could circle part of the document and put a post it note on there to leave feedback.
I just need to know if anyone knows whether or not it's possible to add a view on top of a UIDocumentInteractionController window? Or perhaps there is a better solution? I am not looking for anyone to do this for me, just conceptual ideas. Any thoughts or feedback would be appreciated. :D
EDIT: I know how to do all the things like handle touch events, view animation, all of that sort of stuff. I am just opening a conceptual question to the public kicking some ideas around...
It's a nice idea however I don't believe you can achieve what you're shooting for.
After presenting its user interface, a document interaction controller handles all interactions needed to support file preview and menu display.

What is autoresizesForKeyboard and how does it work?

I was trying to find a way to adjust my screen when keyboard slides up so that the text field being edited (UITextView in my case) slides up and stays in focus instead of getting hidden behind the keyboard.
I saw a few discussion on google groups mentioning - autoresizesForKeyboard -
http://groups.google.com/group/three20/browse_thread/thread/38bdadc89a1f35f8/2f8b92a6058cf136?lnk=raot&pli=1
I was not able to figure out how to use it or find any documentation for it.
Then I saw how Apple recommends to do it -
http://developer.apple.com/library/ios/#documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html
However autoresizesForKeyboard sounds too intriguingly simple. Can someone please shed some light on this?
autoresizesForKeyboard is part of the Three20 library and is a property of the TTViewController class.
http://api.three20.info/interface_t_t_view_controller.html#acc0ff2c5d115eb977aaac419cb64f62b
"Three20 is an iPhone development library. It's the code that powers the Facebook iPhone app and many other apps in the app store."
http://three20.info/

Is there a way to adjust the time displayed by the iPhone?

I'm just curious...on the status bar on the home screen and the lock screen, is there a way to change the time that is displayed??? I've been trying to find things on this both in SDK 3.2 and 4 but with no luck.
Thanks for any responses! I really appreciate them :)
No. You generally can't affect phone-wide features like that, nor does Apple allow you to confuse the user in such a manner.