我正在使用tabelView的一些背景颜色和样式进行分组.部分标题中的文字不清楚,因此我需要修改文本颜色,以便标题文本可见.我想知道我们可以更改标题文本的颜色和大小吗?
我在MyapplicationAppDelegate.m文件中用2个按钮"取消"和"确定"调用UIAlert,调用警报,但点击"取消"或"确定"按钮
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
Run Code Online (Sandbox Code Playgroud)
方法未被调用.
我在MyapplicationAppDelegate.h文件中添加了UIAlertViewDelegate,如下所示
#import UIKit/UIKit.h
@interface MyapplicationAppDelegate: NSObject UIApplicationDelegate,UIAlertViewDelegate
{
..
}
Run Code Online (Sandbox Code Playgroud)
我想知道还需要什么.
如何将推送通知发送到在开发配置文件下运行的构建?
谁能帮帮我吗?
iphone objective-c apple-push-notifications ios provisioning-profile
我只在iOS5的sharekit中遇到键盘问题.而是将文本内容发布到twitter.
.我已经附上我面临问题的屏幕截图1.取消按钮不起作用2.Keyboard没有消失.
如果有人解决了这个问题,请帮助我.
我对MDM感到困惑,希望有人能在这里帮助我.我已经研究过苹果网站关于iOS MDM的文档,但我仍然感到困惑,我有一些问题.
先感谢您.
我正在使用核心情节绘制图表.我试图在绘图区域绘制我的图形,但它包含白色背景.但我想用我自己的背景绘制图形.这是我的代码.
// setting frame of graph
CGRect frame = [self.hostingView bounds];
self.graph = [[[CPTXYGraph alloc] initWithFrame:frame] autorelease];
// Add some padding to the graph, with more at the bottom for axis labels.
self.graph.plotAreaFrame.paddingTop = 10.0f;
self.graph.plotAreaFrame.paddingRight = 10.0f;
self.graph.plotAreaFrame.paddingBottom = 25.0f;
self.graph.plotAreaFrame.paddingLeft = 30.0f;
// set background color of plot area by fill property and CPTColor
self.graph.plotAreaFrame.plotArea.fill=[(CPTFill *)[CPTFill alloc] initWithColor: [CPTColor colorWithComponentRed:0.8 green:0.8 blue:0.8 alpha:1.0]];
// add graph to hosting view by hostedGraph property of hostingView
self.hostingView.hostedGraph = self.graph;
Run Code Online (Sandbox Code Playgroud)
在上面的代码中,我试图改变颜色,但我想在y轴上绘制每个刻度线的水平虚线.
我想只向某些用户发送推送通知.
从我在Apple文档中经历的内容.注册推送通知的代码是这样的
- (void)applicationDidFinishLaunching:(UIApplication *)app {
// other setup tasks here....
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound)];
}
// Delegation methods
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken {
const void *devTokenBytes = [devToken bytes];
self.registered = YES;
[self sendProviderDeviceToken:devTokenBytes]; // custom method
}
- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)err {
NSLog(@"Error in registration. Error: %@", err);
}
Run Code Online (Sandbox Code Playgroud)
在方法appdidRegisterForRemoteNotif..我只看到创建的devToken字节并发送到服务器..但我如何识别哪个设备令牌属于哪个用户.所以,如果我的设备名称是Shubhank的iPhone.如何发送我的iPhone是这样的信息,这是我的设备令牌.
我是黑莓开发新手.我想找出一个绑定到黑莓设备的唯一标识符.
有吗?如果有,我将如何以编程方式检索它?
我正在开发一个应用程序来进行一些图像处理.如果出现问题,应用程序崩溃了.我想避免这种情况.当应用程序的任何阶段发生任何异常时,我想处理它并给用户一个友好的消息.在C#中,windows form应用程序可以完成,但对于iPhone我是新的,因此不知道如何实现它.
任何身体都可以帮助我.
谢谢
Ashwani
我不能让它工作,但这并不意味着它是不可能的.
我见过其他人说我需要使用a TCP Port,但是有没有人有任何指向任何官方文档的指针?
iphone ×8
ios ×6
objective-c ×4
background ×1
blackberry ×1
core-plot ×1
devicetoken ×1
fonts ×1
graph ×1
ios4 ×1
ios5 ×1
mdm ×1
self ×1
tcp ×1
textcolor ×1
twitter ×1
udid ×1
udp ×1
uialertview ×1
uikeyboard ×1
uitableview ×1
voip ×1