toast-notifications-ios icon indicating copy to clipboard operation
toast-notifications-ios copied to clipboard

Is there any option for center alignment?

Open chrisw59 opened this issue 9 years ago • 1 comments

I needed alignment text with center. Please let me know how i can do it.

chrisw59 avatar Oct 23 '15 04:10 chrisw59

Use the option iToastGravityCenter.

[[[iToast makeText:NSLocalizedString(@"The activity has been successfully saved.", @"")] 
        setGravity:iToastGravityCenter] show];

ecstasy2 avatar Oct 24 '15 18:10 ecstasy2