This question already has answers here:
Which is the best way to change the color/view of disclosure indicator accessory view in a table view cell in iOS?
(12 answers)
Closed 8 years ago.
I want that the arrow of Tablecell is visible permanently. currently it is visible only on selection.
secondly i want to change its colour from white to orrange.
How i will do this.
Regards
Nauman k
You can find your answer here:
Which is the best way to change the color/view of disclosure indicator accessory view in a table view cell in iOS?
Related
This question already has answers here:
Change UITabBar tint colors in the More menu
(3 answers)
Closed 4 years ago.
As you can see the color of the items in the more tab stay the default blue is their a way to change them to the color of the other icons? Preferably through storyboard.
As far as I know you can do it only programmatically in UITabBarController.
This code should do the job
moreNavigationController.view.tintColor = .blue
This question already has answers here:
Preventing UITableView from scrolling?
(2 answers)
Closed 6 years ago.
I would like to create a Sign Up page in my application and I want to create an immovable table(witch you can not scroll). I'm doing this in Swift language, if somebody knows will be very helpful. Sign Up Page
In the inspector window of the tableview storyboard turn off anything related to scrolling. And then just make sure your table view height does not exceed the view height
Have you tried setting the bounces property to NO?
You can use the following code:
tableView.bounces = false
tableView.scrollEnabeld = false
From https://stackoverflow.com/a/5344072/4882590
You can do that from your XIB as well as programmatically.
From XIB:
Just select the tableView and in Inspector uncheck bounce horizontally & bounce vertically and scroll horizontally and scroll vertically
Programmatically:
If you want to do that programmatically then you can try
self.tableView.scrollEnabled = false
OR
[self.tableView setScrollEnabled:NO];
This question already has answers here:
How to detect touches in status bar
(11 answers)
Closed 9 years ago.
Can anybody please tell me how to implement tap on status bar and table view should scroll to top. I also have another scroll view in that view controller for some different purpose.
Thanks in advance
If you are having more than one scrollview inside the viewcontroller, you set setScrollsToTop property to YES for the scrollview you want to scroll when user taps status bar. And also set that property to NO for all other scrollviews.
If there is only one scrollview/tableview, You don't even need to do this. It will be set automatically.
[myScrollView setScrollsToTop:YES];
[otherScrollview setScrollsToTop:NO];
This question already has answers here:
Where is a good tutorial for making a custom UITableViewCell? [closed]
(6 answers)
Closed 9 years ago.
i am new to Iphone development, i want create a tableview that contains cells of different width, like iphone contacts app when clicked on add button a tableview appears having different sections and cell are different width compared to first and second sections.
any sample code for doing this.. ?
The different sections is a function of the tableview with UITableViewStyleGrouped. The different width cells are not individual cells. Each row is a tableviewcell. Each cell can be customized to look at any you want. So 1 tableviewcell can have 3 fields in it, like City, State, and Zipcode.
Google is your friend for the sample code.
J
This question already has answers here:
How can I get a check mark beside UIPickerView labels?
(2 answers)
Closed 9 years ago.
i can't find a property to set my UIPickerView checkable... in other programs, I can select a item and the pickerView show a checkmark :-(
Here I solve this problem by creating controller.With this we can able to design view with our own way.Here,I use a UITableView and some custom Delegates methods to create a picker view.
Hope,it solve your problem
Check this link also:
Click here!
You will have to make a custom picker view. There is a method that is viewForPickerView:atComponent:row: or something like that. You will need to return your own view and do your own logic to draw a checkmark.
See my answer here for an elaboration of reproducing a checkmark-enabled UIPickerView, like the one Mobile Safari uses for dropdown menus.