- 博客(2)
- 收藏
- 关注
转载 Objective-C与JavaScript的交互
UIWebView是iOS最常用的SDK之一,它有一个stringByEvaluatingJavaScriptFromString方法可以将javascript嵌入页面中,通过这个方法我们可以在iOS中与UIWebView中的网页元素交互。stringByEvaluatingJavaScriptFromString 使用stringByEvaluatingJavaScript
2012-12-10 10:05:58 462
转载 UIButton上使用UIEdgeInsetsMake title跟图片对齐
默认情况下,不设置的效果,都使居中现实,button为150*150使用以下设置后: [self setTitleEdgeInsets:UIEdgeInsetsMake( 0.0,-backGroundImag.size.width, 0.0,0.0)]; [self setImageEdgeInsets:UIEdgeInsetsMake(0.0, 0.
2012-12-02 17:14:16 1313
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人