将文件从iphone上传到服务器

时间:2011-05-12 09:57:57

标签: iphone

  

可能重复:
  How to upload a file to the server in iPhone SDK?

我是iphone应用程序的初学者我想制作一个应用程序,用于将文件从iphone传输到服务器以便以后打印。我可以执行它,任何人都可以告诉我这个代码。

#import <UIKit/UIKit.h>

@interface printerapplicationAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    UILabel *display;
    UILabel *display1;

    IBOutlet UIButton *print;
    IBOutlet UIButton *cancel;

    IBOutlet UITextField *addres;
    IBOutlet UITextField *name; 
}

-(IBAction) print: (id) sender;
-(IBAction) cancel: (id) sender;

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UILabel  *display;
@property (nonatomic, retain) IBOutlet UILabel  *display1;
@property (nonatomic, retain) IBOutlet UITextField *name;
@property (nonatomic, retain) IBOutlet UITextField *address;

@end

0 个答案:

没有答案