摘要:
待定 阅读全文
摘要:
待续 阅读全文
摘要:
待续 阅读全文
摘要:
文件列表ReadImageAppDelegate.hReadImageAppDelegate.mReadImageViewController.hReadImageViewController.mReadImageViewController.xib--------------------------------------ReadImageAppDelegate.h#import <UIKit/UIKit.h>@class ReadImageViewController;@interface ReadImageAppDelegate : NSObject <UIApplic 阅读全文
摘要:
http://blog.csdn.net/banyingli/article/details/6124995根据文件名来获取文件路径(Document目录下)//根据文件名来获取文件路径-(NSString*)dataFilePath:(NSString*)sender{NSArray*path=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);NSString*documentDirectory=[pathobjectAtIndex:0];return[documentDirectory 阅读全文
摘要:
1:正常建立工程2:新建一个objective-C类,命名(可以随便)RootViewController,可带可不带xib文件3:appdelegate.h#import <UIKit/UIKit.h>@class RootViewController;@interface AppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) RootViewController *roo 阅读全文
摘要:
待定http://blog.csdn.net/shijiucdy/article/details/7404079#import <AssetsLibrary/AssetsLibrary.h>-(void)getImgs{ dispatch_async(dispatch_get_main_queue(), ^{ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; ALAssetsLibraryAccessFailureBlock failureblock ... 阅读全文
摘要:
.h#import <UIKit/UIKit.h>#import "MBProgressHUD.h"@interface ViewController : UIViewController<MBProgressHUDDelegate>{ MBProgressHUD *HUD;}-(IBAction)showWithLable:(id)sender;-(void)myTask;@end.m//// ViewController.m// MBprogressbarTest//// Created by jstv.com jstv on 12-6-10./ 阅读全文
摘要:
http://www.cnblogs.com/iphone520/archive/2011/10/27/2226548.html 手势http://www.cnblogs.com/iphone520/archive/2012/01/09/2225160.html开发常用代码 阅读全文
摘要:
@synthesize db;@synthesize dbName;-(void)openAndCreate{ NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentDirectory = [paths objectAtIndex:0]; NSString *dbPath = [documentDirectory stringByAppendingPathComponent:@"test.db"]; 阅读全文
摘要:
-(UIImage *) getImageFromURL:(NSString *)fileURL { NSLog(@"执行图片下载函数"); UIImage * result; NSData * data = [NSData dataWithContentsOfURL:[NSURL URLWithString:fileURL]]; result = [UIImage imageWithData:data]; return result;}-(void) saveImage:(UIImage *)image withFileName:(NSStrin... 阅读全文
|