测试已测试 | ✗ |
语言语言 | Obj-CObjective C |
许可证 | MIT |
发布上次发布 | 2015年1月 |
由 Arthur Ariel Sabintsev 维护。
这个小型库是在2014年初开发的,允许您将 UILabel 拖动到任何网页输入/文本字段。完成后,UILabel 中的文本会自动传输到网页视图中的输入/文本字段。
这是一个示例。代码并不整洁,也没有文档。它提供如下,以供任何项目免费使用。
没有计划进行 further updates。
将 IDmeSegmentedControl
文件夹复制到您的项目中。
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
_window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
IDmeDraggableLabelController *draggableLabelController = [[IDmeDraggableLabelController alloc] initWithDraggableLabelText:@"Drag this Label" forWebsite:@"http://www.google.com/"];
UINavigationController *controller = [[UINavigationController alloc] initWithRootViewController:draggableLabelController];
[_window setRootViewController:controller];
[_window makeKeyAndVisible];
return YES;
}