I've run into a very bizarre bug on iOS versions below 8.3. Essentially what's happening is iOS 8.3 emojis are causing UITextViews inside UITableViewCells to behave weirdly. I have a UITableView and as it's scrolled and the cells are recycled, any UITextViews that previously contained an iOS 8.3 emoji start displaying their contents very weirdly. The vertical spacing is weird, spacing between characters is weird, and some words become invisible.
To solve this, I'd like to replace all occurrences of 8.3 emojis with something else. Is there a way to detect only emojis specific to iOS 8.3?
Related
In iOS Safari, when we have a fixed header and scrollable content under it, when we scroll, the input is properly hidden by the header but the blinking cursor remains over it.
Reproduced in iOS 9.2.1 and 9.3 beta
Here is the code, to test in iOS safari
[http://jsbin.com/hoxuxu/edit?html,css,js,output]
I am trying to make an ios app which has tableview in it.
When I was developing using xcode 7.0.1 it was showing tableview cells separator line Black thin line.
After I updated with Xcode 7.1.1 , its not showing cell separator lines.
I tried 3 things like -
Tried All the settings in the right panel of xcode to show cell
separator line.
Tried setting up the Cell Line Separator using code in DidLoad method
creating new SingleViewApp as well, in that also its not coming. Nothing solves the issue.
I believe either its bug in xcode 7.1.1 or I am done some wrong global settings in xcode, Because for new apps also its not showing.
Please suggest me some solution.
It is possibly a bug when your simulator is scaled to 50% . I scaled the simulator window to 75% (CMD+2) or 100% (CMD+1) and that seems to show the separator lines.
In my app I am displaying some text in Hebrew. when it was in previous iOS versions it was working fine. When I am upgrade to iOS 9.1. It was showing like from left to right. But it should right to left. How can I resolve this issue ?
From iOS 9 onwards text direction sets automatically.
Just make sure that your UILable or UITextView text allignment is set to NSTextAlignmentNatural. If you are using storyboard or xib. you can set text direction like below image.
I have a simple UITextField (center aligned) I placed using storyboards, with a standard font. For some reason as soon as I start typing the text renders in a different spot from the placeholder text.
This is on iOS9 running on Yosemite (XCode V7.0)
Seems like some issue with storyboards occurred. I redid this view, and now it works fine. Strange.
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.