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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -