Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用了可以在输出面板中拖动的图形图像。我想知道鼠标在该输出面板中的位置 - 该输出面板相对较高 - 我想计算可拖动图像所在的输出面板的百分比。
我怎样才能做到这一点?如果您建议任何解决方案,我将不胜感激。
我想使用 UIImagePickerController 从 iPad 应用程序的照片库中加载照片。我正在使用以下代码行:
-(IBAction)photolibrarypressed:(id)sender{ // / Create window //self.window = [[U