[ios] [iphone]
a873324136
这个作者很懒,什么都没留下…
展开
-
IOS UILabel添加手势,增加点击功能
为UILabel增加点击触发事件。 UITapGestureRecognizer *tapRecognizerWeibo=[[UITapGestureRecognizer alloc] initWithTarget:selfaction:@selector(openURL:)]; self.weiboLabel.userInteractionEnabled=YES;转载 2014-02-27 19:54:31 · 4916 阅读 · 0 评论 -
[iOS]关于TableViewCell的理解以及reuseIdentifier的意义
相信很多人多下面这段代码都非常的熟悉。 在使用TableView的时候,下面一段代码是必须的,也是最标准的,也是最核心的: [cpp] view plaincopy - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)i转载 2014-10-03 13:23:02 · 417 阅读 · 0 评论