<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Rotating an AGSTextSymbol in XCode 6 in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323459#M2828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since I have updated my XCode-App to version 6 I'm experiencing strange behaviors of AGSTextSymbols when it comes to rotating them. I've updated to SDK version 10.2.4 but that didn't change anything.&lt;/P&gt;&lt;P&gt;As you can see in the screenshot I have created a red polyline with text objects attached to the line segments. The black line under each text is the "underline" that comes from the text object - it is correctly rotated. But the text itself rotates in a strange manner.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/18569_screenshot.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here's the simple code snippet for my text objects:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;AGSTextSymbol *textSym = [[AGSTextSymbol alloc] initWithText:[[NSString stringWithFormat:@"%1.2fm", length]stringByReplacingOccurrencesOfString:@"." withString:@","] color:[UIColor blackColor]];&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.angle =&amp;nbsp; -degree_angle;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.fontSize = 20;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.italic = YES;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.underline =YES;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I can say: It worked in XCode 5. Now it doesn't. Do you have any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 15:45:04 GMT</pubDate>
    <dc:creator>TorstenStruck</dc:creator>
    <dc:date>2014-10-07T15:45:04Z</dc:date>
    <item>
      <title>Rotating an AGSTextSymbol in XCode 6</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323459#M2828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since I have updated my XCode-App to version 6 I'm experiencing strange behaviors of AGSTextSymbols when it comes to rotating them. I've updated to SDK version 10.2.4 but that didn't change anything.&lt;/P&gt;&lt;P&gt;As you can see in the screenshot I have created a red polyline with text objects attached to the line segments. The black line under each text is the "underline" that comes from the text object - it is correctly rotated. But the text itself rotates in a strange manner.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/18569_screenshot.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here's the simple code snippet for my text objects:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;AGSTextSymbol *textSym = [[AGSTextSymbol alloc] initWithText:[[NSString stringWithFormat:@"%1.2fm", length]stringByReplacingOccurrencesOfString:@"." withString:@","] color:[UIColor blackColor]];&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.angle =&amp;nbsp; -degree_angle;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.fontSize = 20;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.italic = YES;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;textSym.underline =YES;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I can say: It worked in XCode 5. Now it doesn't. Do you have any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:45:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323459#M2828</guid>
      <dc:creator>TorstenStruck</dc:creator>
      <dc:date>2014-10-07T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating an AGSTextSymbol in XCode 6</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323460#M2829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately you have run into a bug. Text symbol rotation on iOS 8 seems to rotate individual text characters instead of the whole text. We are investigating, but probably won't be able to fix till our next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 18:32:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323460#M2829</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-10-07T18:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating an AGSTextSymbol in XCode 6</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323461#M2830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a workaround, if you only have a small number of graphics, you can try displaying the text symbols in a separate graphics layer that uses dynamic rendering mode. This mode was introduced at version 10.2, and seems to work fine with iOS 8 even with rotation. More information about the static v/s dynamic mode of graphics layer is available here : &lt;A href="https://developers.arcgis.com/ios/swift/guide/what-s-new-10-2-.htm" title="https://developers.arcgis.com/ios/swift/guide/what-s-new-10-2-.htm"&gt;Release notes for 10.2—ArcGIS Runtime SDK for iOS | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 18:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/rotating-an-agstextsymbol-in-xcode-6/m-p/323461#M2830</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-10-08T18:34:45Z</dc:date>
    </item>
  </channel>
</rss>

