ios8 - How to align title of google map marker to right for RTL in ios? -


i using code below set title in marker google maps.

  cllocationcoordinate2d position = cllocationcoordinate2dmake(lat, longi);     gmsmarker *marker = [gmsmarker markerwithposition:position];     marker.title = self.titlearray[i];     marker.map = mapview_; } 

can tell me how align title right ?

you can use

   marker.title.textalignment = uitextalignmentright; 

Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -