Search code examples
iostoast

Change font, font size of toast in iOS


I'm have used Toast before in Android. Is there a way to customize the font or font size of Toast on an UIView in iOS?

I am aware of the makeToast function, which seems to only have optional parameters for duration, position, image, and title. Or is there another messaging/notification system I should be using instead?

I already found this answer for Android.


Solution

  • Turns out toast is not native to obj-C like I originally thought? Growl/toast style notifications library for iOS

    It looks like the github project was already included in some of the legacy code I've been going through... but adding such custom features would not be an iOS issue like I thought, it'd be working on the github project.

    Also, turns out that there's a native iOS library message system: UIAlertView