//Make it so we can hit the dmn thing.
CGRect newInfoButtonRect = CGRectMake(infoButton.frame.origin.x-25,
infoButton.frame.origin.y-25, infoButton.frame.size.width+50,
infoButton.frame.size.height+50);
[infoButton setFrame:newInfoButtonRect];
This is a place that I will use to place random rants about Computers, the state of Computer Science education, and my current projects. I have been in the bleeding edge of the computer industry since the mid 80s. I have seen the boom and bust of our industry from AI to the .coms. Current projects include OOSTehys (open source Ocean Observation), JmDNS (Open source java implementation of Bonjour) and Various IPhone Apps.
Relax and enjoy the ride!
Tìoraidh!
//Make it so we can hit the dmn thing.
CGRect newInfoButtonRect = CGRectMake(infoButton.frame.origin.x-25,
infoButton.frame.origin.y-25, infoButton.frame.size.width+50,
infoButton.frame.size.height+50);
[infoButton setFrame:newInfoButtonRect];
| Reactions: |
Thanks Rick!
ReplyDeleteI was wondering how Apple made their info buttons easier to hit. As a 1rst time iPhone developer, it was frustrating to me that my info button was hard to hit.
Thanks a Million...
Just had the same problem, and your solution just came up great. Saved me much work! Thanks a lot!! (and thanks google ;D)
ReplyDelete