Custom Control Tutorial

I was unable to get most .png or .jpg files to show up in the button - it seemed to work only with very simple png files that are more “icons” than pictures. Is there a way to get this button to work with real images - either jpg and/or png.

Thanks

SGW

I am little bit confused about your question. However, if i am right this article will help you definitely go through this https://www.macobserver.com/tmo/article/why-your-iphone-uses-png-for-screen-shots-and-jpg-for-photos

Sorry if I wasn’t clear. The example used a very simply drawn “drink.png” for the button - when I tried a .jpg or even a small .png converted from a .jpg it did not work. It seems this program only imports graphics that are “icon-like” and not all .png files - yet I saw nothing in the program that would limit the UIImage input.