Under iOS <=6:
When I click round switch, the delete "Usun" button goes from right.
In iOS 7: the cell goes to the left, delete "Usun" button is hidden, but work!!! after click.
This is the same code & the same xib like in 6.
How can I resolve this problem under iOS 7?
Related
I am using Swift 5, testing on a 4K Apple TV.
I am using the UISearchController without subclassing. I am trying to display a white search bar and keyboard on a dark background. So I set:
self.searchController.searchBar.keyboardAppearance = .dark
(I've tried this in viewDidLoad, viewWillAppear and viewDidAppear)
This creates a search bar and keyboard that looks like:
Then if I hit the menu button to leave my app and go back to the Apple TV home page and resume the app it changes the keyboard bar black:
Any ideas what is going on here?
(Note: When running this on the Simulator in Xcode the search bar stays white after backgrounding, I don't know why but it only seems to happen on actual Apple TVs)
I have problem in ios7.1 the webview scroll up when focus on textBox/textarea. when keyboard up my header and I click on any button than show. Also in ios 7.0 for focus input field tap two times. click here. I use it but don't work.
I am just finally updating my app into IOS7. Seems like all of the XIBs now load to the very top of the screen and over write the Carrier, Time and Battery. Do I need to set something to move everything down?
This is normal if you are using iOS7. See this Fix for status bar issue in IOS 7 or this iOS 7 - Status bar overlaps the view (...problem already solved).
I have come to an issue with iOS 7 that I dont know how to solve. I have multiple UItextviews that present a keyboard on touch. For iOS 6 the view scrolls up and the keyboard is shown underneath, but when i run it on iOS 7 the view gets pushed underneath the keyboard. I cant figure out why the view is getting pushed down in iOS 7. i dont have any code that handles iOS 7 different.
UITextView
iOS 6
i OS 7
See my answers here and here.
You should set contentInset bottom to the keyboard's height and then add some code to handle the view that is below the keyboard to be scrolled to visible.
I have an app with a table view in a nav controller; I wanted to disable bouncing so that when my table is in Edit mode, user can scroll down and find rows to delete; otherwise, it would bounce back and not give them the opportunity to press the delete icon next to the row.
So I did this:
self.tableView.bounces=NO;
When I run my app on iOS 4, this works like a charm. User can scroll and the table does not bounce back.
But on iOS 5, the scrolling is also not working at all for the table. No scroll. So to be safe, I did this:
self.tableView.bounces=NO;
self.tableView.scrollEnabled=YES;
But this made no difference.
I create my table view and its nav controller programmatically; everything else is working fine with them. Any idea why disabling bounces would also prevent scrolling on iOS 5?
I found the solution here:
UITableView won't scroll after editing view frame and origin
If you manually set the origin of the tableview, on iOS 5 it disables scrolling. on iOS 4 it is not. a shame, really.