When running the iOS 8 simulator one of my screens has stopped entering edit mode. When pressing the button I created to active edit mode for the tableView nothing happens. It still works in iOS8.
Has anything changed for tableview editing in iOS8 that I am un aware of? Ive also noticed that when swiping to delete the row doesn't disappear like it use to. What must be done to fix this problem?
Related
I created a custom cell in an empty xib. As I was working on it, xcode became unresponsive so I force shut it down. The next time I opened xcode, I was surprised to see a blank canvas but my elements are still there. And when I run it on the simulator the tableview cell is still there.
Anyone encountered this error before?
But my elements are still there
Click one of the element you will see your view.
I have been stuck at this for days. The problem is that the collection view that is in a tab bar after its first load. It will be display incorrectly. If I press any tab the problem will disappear forever until the app is restarted. Note that it's not just a white space that appearing. The whole container is getting shift down so the white space appear.
This problem only seem to exists on the iPhone and not the simulator. Tried it with iPhone 4 and 5.
After a second try I think it only happens in iOS 7 and not iOS 8
Can confirm that it only happens on iOS 7. Upgraded one iPhone 5 to iOS 8 and the bug is gone while another iPhone 5 is still iOS 7 and the problem appears every time.
See the white space below?
It disappear after I press another tab
It doesn't even come back if I go back to the original one
I uploaded an example project with this problem here: https://github.com/athiwatc/UITabBarDisplayWrongPosition
Change the constraints as in the following screen shot:
I'm building an app for iOS 7+ and I'm testing this on iOS 8 for now.
I'm creating a simple sign up form. Using a UITableView where one cell holds a UITextInput for the username and another cell underneath holds a UITextInput for password.
When I click on the username input field, the keyboard pops up as expected. Now, if I click on the password input field in the other UITableViewCell then the whole UITableView crashes/appears black. The keyboard remains visible however.
What's strange is that no logs are left either via the Terminal debug output area or the whole iPhone console log.
Additionally - this ONLY happens when running it on an actual iPhone. I cannot replicate the crash/black screen in the simulator (perhaps this is because the keyboard doesn't pop up in the simulator?). I'm using Xcode 6 beta 2 and building for iOS 7 and above. Running on iOS 8.
Lastly - I have stuck a debug output in prepareForReuse() for the respective cells. This does not get called.
Any tips on what is going on here?
Thanks in advance.
== Edit ==
After the "crash" the screen appears like (note: the status bar is hidden before the crash):
Disabling correction fixed the problem - how weird!
I have a IU button that has an image, when I run on the simulator everything shows up and is working. however once I try to run on the device the button is not there. I already checked for case sensitivity, if its in the bundle phase, changing the button from "weak" to "strong", checking the button alpha and still no luck. Any other suggestions? Thanks.
update.
so now I tried to delete the image and add text to the button to see if the button will show with text(on the device). The button is still visible on the simulator but on the device I get no text, no button. So now my question is, what could be possible reasons a UI button would show on the simulator but not the device?
I also used a previous app as a test, I added a button and ran it on the same device and the button showed up with the same image I am trying to implement. so I am lost as to why its not working on my current app.
I am coming across a strange bug in my app, that I believe is an iOS 6 bug.
I have a UITextView that contains some text that has some links and phone numbers. In my storyboard, I have Links & Phone Numbers checked under 'Detection' for my UITextView. In code I also do:
_txtvFooter.editable = NO;
_txtvFooter.dataDetectorTypes = UIDataDetectorTypeAll;
The issue I am having is a strange one, but when I run my app onto my device (or sim) from Xcode, the UITextView detects all of the links fine, and I can click them. If I then run the app not in debug (not running through Xcode), the links show as black standard text and cannot be touched. Note this is only happening on iOS 6.
On the iOS 5 simulator, the links show as blue and are clickable no matter if the app is run in debug, or just ran from the simulator.
I have looked all over the internets, and cannot find a solution or anyone else who has reported this issue. Does anyone know if something changed in iOS 6 specifically? I thing is, like I said it detects the links when run straight from Xcode, so to me it seems like an iOS 6 bug.
Any help is appreciated!
I found what was causing my issue. What I was doing was placing a UIView in the footer of a UITableView in Storyboard that contained a UITextView.
The fix was dumb... I removed the UITextView from the UIView and just used that as the footer (I at one point had multiple textviews in the footer) and the links began detecting.
I still believe this is a bug though-- because if you do need to use a UIView the links would not detect from the textviews within.