对于iPhone应用程序,是否可以在产品上使用Whatsapp链接?一旦链接,它将通过whatsapp向我的手机号码发送消息.请指教.
我在简单的条形图应用程序,使用Coreplot开发此应用程序,然后我尝试实现条形图,但我得到的问题发现在
[__NSCFConstantString sizeWithTextStyle:]: unrecognized selector sent to instance 0x7fb4c'
First throw call stack:
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题?请帮我
提前致谢
我试过这个:
Viewcontroller.h
#import <UIKit/UIKit.h>
#import "CorePlot-CocoaTouch.h"
@interface GraphViewController : UIViewController <CPTPlotDataSource>
{
CPTXYGraph *barChart;
NSTimer *timer;
NSMutableArray *samples;
}
-(void) getGraphValues;
@end
Run Code Online (Sandbox Code Playgroud)
Viewcontroller.m
- (void)viewDidLoad
{
[super viewDidLoad];
self.view.backgroundColor=[UIColor whiteColor];
self.title = @"Sample";
self.navigationController.navigationBar.barStyle = UIBarStyleBlack;
[self.navigationController setNavigationBarHidden:NO];
[self getGraphValues];
double xAxisLength = [samples count];
barChart = [[CPTXYGraph alloc] initWithFrame:CGRectMake(0, 0, 320, 380)];
barChart.plotAreaFrame.borderLineStyle = nil;
barChart.plotAreaFrame.cornerRadius = 0.0f;
barChart.paddingLeft = 0.0f;
barChart.paddingRight …Run Code Online (Sandbox Code Playgroud) 任何人都可以告诉我Android中设备UDID的长度,因为我在Android中获得了UDID,它只有16个字符,但iPhone UDID长度为40.
我使用以下代码来检测ID:
id = android.provider.Settings.System.getString(super.getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID);
Run Code Online (Sandbox Code Playgroud) 我在drawable-mdpi中导入了一个图像,然后从按钮实现了图像,但是发生了错误no resource found here.我该如何解决这个问题?
我试过这个:
main.xml中
<Button
android:id="@+id/imageButtonSelector"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable-mdpi/button_focused_orange"/>
Run Code Online (Sandbox Code Playgroud)

现在我在简单的iPhone应用程序的工作,我已经存储在一定的价值NSMutableArray一样 "{54.399, 196}","{-268.246, 273}".,所以我希望得到54.399的第一indexpath,如何得到这个,请帮助我
提前致谢
目前我在简单的Android应用程序工作,我已经尝试了在iphone中的字符串范围,它的作品,但我在Android应用程序中不知道这个?在iPhone中:
result = "mobile - check balance | rate: 0.036"
if ( [result rangeOfString:@"rate:"].location != NSNotFound)
{
}
Run Code Online (Sandbox Code Playgroud)
如何在Android中转换这个,请帮帮我
我在Android应用程序中工作,使用hasPrefix获取iphone中的第一个字符串值,但我不知道该怎么做?请帮我
在iPhone中:
Name =@"Thomas edward";
if ([result hasPrefix:Thomas])
{
}
Run Code Online (Sandbox Code Playgroud)
同样Android,怎么做?
提前致谢
目前我在iPhone应用程序工作,我已成功上传iTunes应用程序在itunes connect,不,我在该应用程序中得到一些错误并立即修复,然后我尝试上传同一个二进制文件的新版本,是否可能?如何替换应用程序,等待itunes连接中的审查?请帮我
提前致谢
我在iPhone应用程序中工作,使用JSON框架从Web服务解析Json值,如何得到像1221,1278,3456,...........等的Json值(这个值不是常数,它会自动动态更改值,所以我不知道)是否可以这样做?
提前致谢
JSON响应供您参考:
{
"1221":
{
"type": "product",
"product_id": 1221,
"intID": "1",
"name": "rer Margherita",
"des": "Tomatensauce, Käse<sup>1</sup>",
"img": "",
"isDeal": false,
"cat": {
"1": {
"price": 4,
"pos": 1,
"catname": "normal",
"extras": false
},
"2": {
"price": 5.9,
"pos": 2,
"catname": "groß",
"extras": false
}
}
},
"1278": {
"type": "product",
"product_id": 1222,
"intID": "2",
"name": "ere Zwirerebeln",
"des": "er",
"img": "",
"isDeal": false,
"cat": {
"1": {
"price": 2,
"pos": 1,
"catname": "rer",
"extras": true …Run Code Online (Sandbox Code Playgroud) 目前我在iPhone应用程序中工作,我已经为两个按钮创建了两个按钮并设置了图像,当用户触摸button2然后在button2内显示button1图像时,我尝试了我的水平最好,但我无法解决这个问题,请任何一个帮助我
提前致谢
我试过这个:
btn1 = [UIButton buttonWithType:UIButtonTypeCustom];
[btn1 setImage:[UIImage imageNamed:@"4.png"] forState:UIControlStateNormal];
btn1.frame=CGRectMake(61, 60, 50, 50);
[btn1 addTarget:self action:@selector(Button1Method) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:btn1];
btn2 = [UIButton buttonWithType:UIButtonTypeCustom];
[btn2 setImage:[UIImage imageNamed:@"8.png"] forState:UIControlStateNormal];
btn2.frame=CGRectMake(112, 60, 50, 50);
[btn2 addTarget:self action:@selector(Button2Method) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:btn2];
-(void)Button2Method
{
[btn2 setImage:[UIImage imageNamed:btn1.currentBackgroundImage] forState:UIControlStateNormal];
}
Run Code Online (Sandbox Code Playgroud)