objective c - How I can flip the collection view for RTL in ios? -


i have collection view of 2 columns , 3 rows. have button change language of whole app english arabic. wanted flip collection view .

i have flipped view (means columns swapped ) cell got reversed . can tell me how can reverse cells of collection view ?

my code flipping collection view :

[self.dashboardcollectionview settransform:cgaffinetransformmakescale(-1, 1)]; 

yes possible without transformation of collection view can flip view , based on subview of view flip , can give support rtl. must need give trilling , leading constraints horizontally.

semanticcontentattribute property work flip view programmatic , storyboard. can use forcelefttoright , forcerighttoleft according requirement.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -