I have seen so many posts but none of them gives answer for this question. How to change this? Can anyone please help with it?
Thank you,
Ankita
You can't change the height of the pickerView as it is kept fixed by Apple.
Hence it does not allow you to change its height.
If you want more flexibility you may go for some custom created controls available on internet that would enable you to have more freedom over setting the size and all.
NOTE:
Please keep in mind that the more custom controls you use, the more are the chances of your app getting rejected by Apple.
Hope this helps you.
Related
I want to make Switch, which have three states.Basically I need to store value 0 or 1 or 2.
By checking the state of Switch.
Please Help to make this switch.If it can be made Using IB that will be very nice because it will be easy to place in the right place.
(I have image but not able to show bec am new, dont have 10 reputation yet)
Thanks in advance for your creative thinking
You should use a UISegmentedControl for this. It's part of the standard set of controls, Apple has taken care of accessibility support, and users will know what to do with it.
Making a custom control that looks like UISwitch but behaves differently is a bad idea.
I am interested in replicating the Cardex View that is seen in the Roambi App.
By Cardex I mean
Please help.
Thanks.
EDIT:
I Have not tried this because I dont know how to go about it. It would be very kind if I could get some help.
You can use Nick Lockwood's iCarousel, which can be downloaded here.
With iCarousel, you can create effects like this:
well i repicated the same using cover flow, where i had to change the matrix co-ordinates. you might find the cover flow code in github
i think this link might help.
https://github.com/tuo/CoverFlow/tree/master/CoverFlow.xcodeproj
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!
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.
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.