Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Almost all of these controls can be displayed using a UIWebView - if that's not an option, have a look at the UIWebView implementations and it should give you some kind of idea.</p> <p>However, if you want native controls, these are probably the best options:</p> <ul> <li>Radio Button: <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UISegmentedControl_Class/Reference/UISegmentedControl.html" rel="nofollow">UISegmnetedControl</a></li> <li>Check Box: <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UISwitch_Class/Reference/Reference.html" rel="nofollow">UISwitch</a></li> <li>Drop Down: <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UIPickerView_Class/Reference/UIPickerView.html" rel="nofollow">UIPickerView</a> (used in UIWebView).</li> </ul> <p>x to the power of y in a UILabel is easy. Just replace your indices with unicode superscript characters... I use the following method to turn an integer into a string with superscript characters.</p> <pre><code>+(NSString *)convertIntToSuperscript:(int)i { NSArray *array = [[NSArray alloc] initWithObjects:@"⁰", @"¹", @"²", @"³", @"⁴", @"⁵", @"⁶", @"⁷", @"⁸", @"⁹", nil]; if (i &gt;= 0 &amp;&amp; i &lt;= 9) { NSString *myString = [NSString stringWithFormat:@"%@", [array objectAtIndex:i]]; [array release]; return myString; } else { NSString *base = [NSString stringWithFormat:@"%i", i]; NSMutableString *newString = [[NSMutableString alloc] init]; for (int b = 0; b&lt;[base length]; b++) { int temp = [[base substringWithRange:NSMakeRange(b, 1)] intValue]; [newString appendString:[array objectAtIndex:temp]]; } [array release]; NSString *returnString = [NSString stringWithString:newString]; [newString release]; return returnString; } } </code></pre> <p>For a hyperlink, use a <code>UITextView</code> with <code>Property Inspector -&gt; Detection -&gt; Links</code> enabled and <code>Editable</code> behavior disabled. Of course this is also available in a UIWebView.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload