How do I stop iOS from converting a small pointing right triangle character into a rectangluar boxed triangle symbol

0 votes

enter image description here I've tried entering the small pointing right triangle and the right arrow characters, both are converted by iOS into rectangular icons with a right triangle and a right arrow, respectively. Can I declare a different font to stop this from happening? Or is there a default setting I need to turn off?

All a want is a black small pointing right triangle:

Decimal Hex
▸ 9656 ▸ 25B8

Here is the Code:

NSString *title = [NSString  stringWithFormat:@"%d payments of %@ ➡ ▶", duration, [Utils formatPrice:payment]];
   [button setTitle: title forState: UIControlStateNormal];

Any suggestions would be appreciated.

Nov 16, 2022 in Mobile Development by gaurav
• 23,260 points
520 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
This is not about changing font, but about unicode variation. On Unicode 6.1, one unicode code point can have multiple glyphs, and you can choose those using Variation Selectors.

For about emoji, you can use U+FE0E(@"\U0000FE0E") to choose text style graph. (And, U+FE0F(@"\U0000FE0F") is for Apple Color Emoji).

For example, LEFT-POINTING TRIANGLE's unicode code point is U+25C0(@"\U000025C0"), and you can specify not to use Apple Color Emoji but non-color symbol like @"\U000025C0\U0000FE0E".

Also, there is some difference between iOS emulator(for iOS6 on Mountain Lion) and actual device(iOS6) about Variation Selector handling, probably because Mountain Lion have more support for Unicode 6.1, I guess.

For example, if I don't specify the selectors, I see non-color triangle on iOS6 device, but Apple Color triangle on iOS6 simulator(on Mountain Lion), for UIBarButton.

So, it is nice to check both simulator and actual device, but it looks more safe to use Unicode Variation Selectors always anyway.
answered Nov 17, 2022 by gaurav
• 23,260 points

edited Mar 5

Related Questions In Mobile Development

0 votes
1 answer

How can I record a conversation / phone call on iOS?

For incoming calls, you can go to Settings ...READ MORE

answered Dec 15, 2022 in Mobile Development by gaurav
• 23,260 points
574 views
0 votes
0 answers

Opening Instagram app from a link on iOS

I am providing a feed which is ...READ MORE

Nov 8, 2022 in Mobile Development by gaurav
• 23,260 points
1,197 views
0 votes
0 answers

How to login to a site using POST request? (Swift,iOS)

I want to create an iOS Application ...READ MORE

Nov 9, 2022 in Mobile Development by gaurav
• 23,260 points
755 views
0 votes
0 answers

iOS: transforming a view into cylindrical shape

With Quartz 2D we can transform our ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
956 views
0 votes
0 answers
0 votes
0 answers

How to open app from Twitter for iOS WebView on iOS 9

My question pertains to deeplinking from a ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
676 views
0 votes
1 answer

ios: localize emoji name (kCFStringTransformToUnicodeName)

There is no api for this job. Unicode ...READ MORE

answered Sep 21, 2022 in Others by rajatha
• 7,680 points
1,236 views
0 votes
1 answer

Find length of string in R

You can try nchar > nchar("fast") [1] 4 > set.seed(10) > ...READ MORE

answered Apr 17, 2018 in Data Analytics by DataKing99
• 8,250 points
1,388 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
11,629 views
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
981 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP