可能重复:
Windows上的iPhone开发
嗨,大家好
我正在寻找一些可以开发iPhone应用程序的环境,但我的预算不允许我投资mac机器.我可以在使用VMWare的英特尔系统上执行此操作吗?
我很抱歉这个问题,因为我不知道任何学生尝试在VMWare上安装mac是不合法的,所以我不打算安装它.所以请一次又一次地停止投票谢谢
我想在 iPhone 应用程序中使用铅笔描边,它可以绘制如下图所示的线条:

谁能告诉我如何实现这些类型的中风?
嗨我在php服务器上传图片,并在此代码的帮助下成功上传
- (NSString*)uploadData:(NSData *)data toURL:(NSString *)urlStr:(NSString *)_userID
{
// File upload code adapted from http://www.cocoadev.com/index.pl?HTTPFileUpload
// and http://www.cocoadev.com/index.pl?HTTPFileUploadSample
NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
[request setURL:[NSURL URLWithString:urlStr]];
[request setHTTPMethod:@"POST"];
// NSString* = [NSString stringWithString:@"0xKhTmLbOuNdArY"];
NSString *stringBoundary = [NSString stringWithString:@"---------------------------14737809831466499882746641449"];
NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@",stringBoundary];
[request addValue:contentType forHTTPHeaderField: @"Content-Type"];
NSMutableData *body = [NSMutableData data];
[body appendData:[[NSString stringWithFormat:@"\r\n--%@\r\n",stringBoundary] dataUsingEncoding:NSUTF8StringEncoding]];
// [body appendData:[[NSString stringWithFormat:@"userId=%@",_userID] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"Content-Disposition: form-data; name=\"userfile\"; filename=\"image%@.jpg\"\r\n", _userID] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithString:@"Content-Type: application/octet-stream\r\n\r\n"] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[NSData dataWithData:data]]; …Run Code Online (Sandbox Code Playgroud) 在更新xcode7之后未调用PFFacebookUtils logInInBackgroundWithReadPermissions块,并从此处解析SDK到1.8.5和Facebook SDK 4.6:https://developers.facebook.com/docs/ios/ios9
NSArray *permissions = [NSArray arrayWithObjects:@"email",@"user_friends", nil];
[PFFacebookUtils logInInBackgroundWithReadPermissions:permissions block:^(PFUser *user, NSError *error)
{
if (!user) // The user cancelled the Facebook login
{
NSLog(@"Uh oh. The user cancelled the Facebook login.");
}
else if (user.isNew) // New user (not stored on DB) - User signed up and logged in through Facebook
{
[self handleNewUser];
}
else if (user) // the user is exist at DB
{
// the user is exist at DB …Run Code Online (Sandbox Code Playgroud) 嗨,我正在开发一个iPhone应用程序,我必须在接收到来自套接字的响应后在pickerview上显示一些内容,PickerView的方法是在应用程序即将加载时检查.在我的应用程序中,我必须在按钮单击上加载PickerView.
在数组中获得响应后,当我单击按钮时,它会显示一个选择器视图但是为空.:(所以可以告诉我如何像tableView一样重新加载pickerview.
Thanx提前
嗨,我正在研究iPhone应用程序,我必须动画和旋转图像,图像附在这里 
现在这个图像的目的是,无论何时在iPad上任何地方点击它都会有动画并指向那个地方.
请帮我搞清楚.感谢名单
我想知道如何在iPhone中的字符串中保存数组(Objective-c).因为我有一个数据数组
数组[0] = 01数组[1] = 02数组[2] = 03数组[3] = 04
现在我想将它保存在这样的字符串中
NSString *string = @"01, 02, 03, 04";
Run Code Online (Sandbox Code Playgroud)
如果你有一些想法,请帮助我,我是这个领域的新手.
提前.
我试图捕捉我的UIView的图像,但当我称这种方法
- (UIImage *) imageWithView:(UIView *)view
{
UIGraphicsBeginImageContext(view.bounds.size);
[view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage * img = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return img;
}
Run Code Online (Sandbox Code Playgroud)
我的应用程序在我的视图的DrawRect方法中输入并停留在这些行的循环中
[super drawRect:rect];
[curImage drawAtPoint:CGPointMake(0, 0)];
mid1 = midPoint(previousPoint1, previousPoint2);
mid2 = midPoint(currentPoint, previousPoint1);
context = UIGraphicsGetCurrentContext();
[self.layer renderInContext:context];
Run Code Online (Sandbox Code Playgroud)
这是我的drawRect方法
- (void)drawRect:(CGRect)rect
{
[super drawRect:rect];
[curImage drawAtPoint:CGPointMake(0, 0)];
mid1 = midPoint(previousPoint1, previousPoint2);
mid2 = midPoint(currentPoint, previousPoint1);
context = UIGraphicsGetCurrentContext();
[self.layer renderInContext:context];
CGContextMoveToPoint(context, mid1.x, mid1.y);
CGContextAddQuadCurveToPoint(context, previousPoint1.x, previousPoint1.y, mid2.x, mid2.y);
CGContextSetLineCap(context, kCGLineCapRound);
CGContextSetLineWidth(context, self.lineWidth);
CGContextSetStrokeColorWithColor(context, self.lineColor.CGColor);
CGContextStrokePath(context);
}
Run Code Online (Sandbox Code Playgroud)