Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6703749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:12:29+00:00 2026-05-26T07:12:29+00:00

I want to display and edit superscripts and subscripts my application. In UITextView’s documentation

  • 0

I want to display and edit superscripts and subscripts my application. In UITextView’s documentation it said that you cannot use any kind of formatting that doesn’t apply to the whole document. I realize I still have a few options on how to display these formats, I’m not sure what will be the best and I would like some advice.

  1. I can maybe subclass UITextView to achieve that effect, but I’m not too sure how I would do that, and In the documentation it says that you shouldn’t subclass it. I also know not to listen to Apple :-D.

  2. I could reinvent the wheel and use core graphics to just put the individual characters were they belong while paying extreme attention to their sizes and placements with respect to the other characters.

I am pretty new so any other ideas would be very much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:12:29+00:00Added an answer on May 26, 2026 at 7:12 am

    Ideally, you want to use an NSAttributedString which supports super/subscripts as well as other “rich text” features. However, UITextView does not support NSAttributedStrings directly.

    The thread here discusses your options. The recommendation is to use the OmniUI framework by Omnigroup, which can be found here. I haven’t personally used this library, but it looks very promising.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When users edit their account, I want to display a confirmation page that shows
I want to use asp.net repeater control to display all threads that under same
I want to display and edit some objects in a WPF data grid and
I have a simple quiz application and I want display a nice timer /
I want to display the first and last characters of any given string entered
I want to display a progress bar while doing some work, but that would
I want to display only 100 characters at Gridviews ItemTemplate. When I click edit
I want to display a progress indicator in a semi-transparent box that floats over
I have a Database table that I want to display in a DataGridView. However,
I want to display a combobox with add/edit dialog on Jqgrid. I could do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.