我在ios 4.3上有一个奇怪的问题.我有一个横向模式的屏幕,按钮点击呈现一个popover.My popover有一个搜索栏.每当键盘出现时它会自动推动我的popover位.当我退出键盘时, popover减少了高度.这只是在ios 4.3上的问题.而在其余的ios中,我的popover在键盘解雇后不会降低高度.
我在ipad.setting键盘类型的情况下,以显示一个数字键盘为键盘用于文本字段(它只能取标记)为UIKeyboardTypeNumberPad显示数字键盘,但用户可以切换回alphabets.Is有任何键盘的ipad刚刚显示的数字?
什么是ASIHTTPRequest?我们如何在iphone应用程序中使用它?我们需要包含哪些文件?Apple是否为此提供文件?
当用户点击UITextField时,我想要显示一个自定义键盘.但同时我想在文本字段中显示光标.如果if为canBecomeFirstResponder返回NO,则它不显示默认键盘,但也不显示光标.
有人可以帮帮我吗?
谢谢.
基本上,我从网络服务器获取网址.我想在iPhone应用程序中播放该网址的电影文件.请帮忙!我的意思是说我的电影文件存储在网络服务器上
在我的应用程序中,我有一个以caf和aac格式存储的音频文件.我需要从音频网址获取kb中音频文件的大小.有没有办法达到这个要求?
更改搜索栏的背景颜色很容易.但是,我不知道如何更改其背景图像.没有直接的方法.我需要帮助...............我很欣赏任何给定的想法......
我需要使用我的mac应用程序打印我的视图内容.我得到了打印选项的标准面板.但是预览我的页面设置是不合适的.
我正在使用以下代码对打印按钮执行操作
- (void)print:(id)sender {
[[NSPrintOperation printOperationWithView:staticText] runOperation];
float horizontalMargin, verticalMargin;
NSSize bounds = [printInfo imageablePageBounds].size;
NSSize size = [printInfo paperSize];
horizontalMargin = 0;
verticalMargin = 0;
[self setPrintInfo:[NSPrintInfo sharedPrintInfo]];
[printInfo setLeftMargin:horizontalMargin];
[printInfo setRightMargin:horizontalMargin];
[printInfo setTopMargin:verticalMargin];
[printInfo setBottomMargin:verticalMargin];
}
Run Code Online (Sandbox Code Playgroud)

我想在ios sdk中添加地图上的按钮Mapview 1>放大按钮2>缩小按钮请指定任何演示或与此相关的任何代码.

我想解析这个plist结构......请帮助
我现在使用的是
mainDictionary = __Dictionary::createWithContentsOfFile(plistPath.c_str());
__Dictionary *exit = (__Dictionary*)__Dictionary::createWithDictionary(
(__Dictionary*)mainDictionary->objectForKey(std::string("otherButton")));
Run Code Online (Sandbox Code Playgroud)
但是有些钥匙缺少退出的决定权......
我想以编程方式从我的应用程序发送.doc文件作为电子邮件附件.
我正在使用此Graph API.它没有每次显示登录屏幕,我启动这个应用程序.我可以在控制台上看到结果.我想知道如何在NSDictionary中保存方法的结果,以便在tableView或某些标签中显示它.方法是
-(IBAction)getMeFeedButtonPressed:(id)sender {
FbGraphResponse *fb_graph_response = [fbGraph doGraphGet:@"me/feed" withGetVars:nil];
NSLog(@"getMeFeedButtonPressed: %@", fb_graph_response.htmlResponse);
Run Code Online (Sandbox Code Playgroud)
}
提前致谢
iphone ×7
objective-c ×3
ios ×2
ipad ×2
audio ×1
background ×1
cocoa ×1
cocoa-touch ×1
cocos2d-x ×1
facebook ×1
macos ×1
map ×1
mfmailcomposeviewcontroller ×1
nsdata ×1
nsoperation ×1
printing ×1
searchbar ×1
uibutton ×1
uisearchbar ×1
uitextfield ×1
zooming ×1