Need help with Custom UIButton Class


hi folks, i'm still new cocoa touch bear me. it's concept missing here goes.

want create custom uibutton class can behave different regular button. want class inherit of methods it's superclass , draw button interface builder. problem i'm looking change background color , and forth every time button pressed. can't seem find appropriate methods can when reviewing docs.

ideas?

 

if want button color change, can on action associated button. since uibutton inherits uiview, should able access backgroundcolor property.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments