摘要:
两个界面传递参数时报这个错误,经检查发现,是因为目标视图没有关联对应的controller。 阅读全文
摘要:
点开UICollectionViewDelegate,发现有@protocol UICollectionViewDelegate 。所以只要实现UIScrollViewDelegate的- (void)scrollViewDidScroll:(UIScrollView *)scrollView; 方... 阅读全文
摘要:
1 - (IBAction)test:(id)sender { 2 NSString *result = @"{\"code\":\"S00000\",\"message\":\"success\",\"data\":{\"file_name\":\"b1feba4439d0bed9f86... 阅读全文
摘要:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES);NSString *filePath = [[paths objectAtIndex:0] stringBy... 阅读全文
摘要:
使用suds访问webservice十分方便python3.x安装suds会报错“No module named client”在stackoverflow上找到了替代方法,安装suds-jurko即可下载地址:https://bitbucket.org/jurko/suds解压后python se... 阅读全文
摘要:
1 # coding=gbk2 import sys,urllib.request,re3 4 url = "http://www.3322.org/dyndns/getip" #网页地址5 myPage=urllib.request.urlopen(url).read()6 myPage = my... 阅读全文
摘要:
打开Options-Open Global Options#import python的#去掉即可 阅读全文
摘要:
1.修改选中图片:UITabBarItem* item = [self.tabBarController.tabBar.items objectAtIndex:1]; //从0开始item.selectedImage = [UIImage imageNamed:@"ItemSelProfile"]... 阅读全文
摘要:
1.Description Resource Path Location Type Unable to resolve target 'android-19解决:打开project.properties,修改对应版本号2.Description Resource Path Location Type... 阅读全文
摘要:
1.下载微软的php连接驱动:SQLSRV30.EXE(5.4对应,后面的native client要用2012)/SQLSRV20.EXE(5.3对应,native client要用2008)/SQLSERV31.EXE对应5.52.解压SQLSERV30.EXE,拷贝对应extension到ph... 阅读全文