I getting mad doing the research for the solution of this method. I want to control or disable the clicking sound whenever the picker is scrolled. now i want to use the documented one. Can you help me solve this at the range of 1 day? please I really need to do this as fast as i could. But I guess you can give me some hint to solve this problem.
[thePickerView setSoundsEnabled:NO];
There's no documented way to do this.
Related
I'm looking to implement a UIPickerView where the user presses spin and the picker selects a random option. I'm curious if there are any ways to make the spinning effect last longer?
The only way I've really thought of, or seen, is increasing the number of items in the component simulating that the picker is really "spinning". Is this my only option?
Thanks.
You may test the actual performance with the huge number UIPickerView first, or actually build a slot machine component like this one:
iPadSlotMachine
With the stock iOS controller, no, I do not believe this is really possible.
Your idea might work, but will probably suffer from some graphical glitches as you add/remove elements during animation. Definitely worth trying though, to see if it is good enough for your needs.
Unfortunately, I think you'd have to write your own custom controller to really get the "slot machine" effect you're after properly. I would suggest google around and checking github, etc to see if anyone has written an open source one.
I am attempting to adjust the margin on a UITextField, and i have done a bit of research and found that i need to use editingRectForBounds: While that should be helpful to most people I find that I need a bit more guidance to make the nessesary code changes. Could someone please point me in the direction of a tutorial or maybe write out just a quick couple steps how i might use editingRectForBounds: to adjust the UITextField text?
Ive seen this, but am not sure how to make it work.
Thanks for the help!
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.
You guys get what I mean. I have no idea how to do this. There are no tutorials anywhere and so far I've spent about 4 hours on this to no avail. Can anyone point me to anything useful or give me a quick run down on how I would achieve this? Cheers.
In short: create a UIView or UIControl subclass. Draw thumbnail images of the pages. Respond to touch events and send selection changes to a delegate that can then update the real page. Something like that :-)
Hope you all are fine and also in best of your moods.
I have a little problem kindly help me to get its solution.
my Problem is:
I am using vertical search in my application, using method sectionIndexTitlesForTableView() of tableview i get all Character listed from top to bottom at rightside.
But this letters have fixed color. i need to change this color. Since i newbie i don't know how to deal with it.
Please help to get solution.
Thanks, and sorry if you found me with wrong english.
There is no supported way to do this. Even if you had access to the index view (which you don't easily), it would not be possible because there is no NSAttributedString on iPhone, so you couldn't return color information.
The best way to achieve this is to turn off the tableview's index and generate your own from scratch, floating it over top of the tableview. But I would not recommend this approach for a new iPhone developer. It is best to spend some serious time learning to build UIs the way Apple intends you to. Once you understand Apple's UI and how it's implemented, then you can make informed decisions about whether you should break the UI rules.