adi*_*dit 3 iphone objective-c ipad ios ios5
几周前我看到iOS 5中有一个字典的视图控制器,我们可以传递一个字,它将提供它的定义.我似乎无法再在apple doc中找到文档,有谁知道这个名字是什么?
您正在尝试使用UIReferenceLibraryViewController提供的Dictionary服务
// Create the view controller
UIReferenceLibraryViewController *reference =
[[[UIReferenceLibraryViewController alloc] initWithTerm:@"Word"] autorelease];
[self presentModalViewController:reference animated:YES];
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1485 次 |
| 最近记录: |