- 浏览: 85682 次
- 性别:
- 来自: 昆明
Building an app that needs to access the photo library but don’t have any photos in the iPhone simulator? No problem. Follow these simple steps to import photos into the iPhone Simulator:
Open the iPhone Simulator
Browse to the photo you want to put into the simulator (Finder or web browser)
Click and drag the photo over the simulator window. A green “plus” icon should appear under your cursor with the simulator frame highlighted. Drop the photo.
Mobile Safari should open on the simulator to the location of the image you just dragged and dropped over it
Note that if the image you dropped is linked in a webpage, it will open the link instead of the image URL.
Click the mouse down over the image and hold it until a popup window appears.
Click “Save Image”
The photo will now reside in the “Saved Photos” album on the iPhone Simulator. Rince and repeat as many times as you need to get all your photos in the album.
Open the iPhone Simulator
Browse to the photo you want to put into the simulator (Finder or web browser)
Click and drag the photo over the simulator window. A green “plus” icon should appear under your cursor with the simulator frame highlighted. Drop the photo.
Mobile Safari should open on the simulator to the location of the image you just dragged and dropped over it
Note that if the image you dropped is linked in a webpage, it will open the link instead of the image URL.
Click the mouse down over the image and hold it until a popup window appears.
Click “Save Image”
The photo will now reside in the “Saved Photos” album on the iPhone Simulator. Rince and repeat as many times as you need to get all your photos in the album.
发表评论
-
Xcode 6 新建工程运行在 iOS 7 上下有黑边的问题
2014-11-02 10:01 2677原因:Xcode 6 默认新建的启动页面为 LaunchScr ... -
怎么创建 UITableViewCell 的 xib
2014-10-27 13:08 4201. 新建文件,选择 User Interface->V ... -
iOS 调试问题小结
2014-06-12 11:17 6681. XCode 提示 ”set a breakpoint i ... -
Could not launch " app name"
2013-12-19 11:11 590“could not launch app name” ... -
Why iOS 5.x doesn't work under Maverick
2013-12-19 09:52 591The iOS simulator does not dupl ... -
How to know whether a project uses ARC
2013-12-17 11:17 597There are 2 method to check whe ... -
kAudioSessionIncompatibleCategory
2013-12-13 10:30 908A Note About kAudioSessionIncom ... -
把 iOS app logs 写入 documents 文件夹
2013-12-06 17:15 954Now, in order to tell your app ... -
用 lipo 命令裁剪出需要的 architecture
2013-11-06 15:23 1338iOS 上的 framework 和 .a 库一般会同 ... -
写文件,真机和模拟器是不一样的
2013-10-17 22:30 453在真机上,只能往 Documents 和 tmp ... -
setValue:forUndefinedKey
2013-10-15 09:54 693使用 Storyboard 创建并管理 UI 时,在运行 ... -
创建 Empty Application时, storyboard 不显示的问题
2013-10-15 09:49 1096原因: 1. 创建 Empty Application 时没有 ... -
OC 和 C++ 混编
2013-10-08 15:45 702原文出处: http://blog.csdn.net ... -
Objective-C 中,@class & #import 的区别
2013-09-29 10:38 550Key points: "#Import&q ... -
Xcode如何打包ipa安装包
2013-09-05 11:41 1404http://jingyan.baidu.com/articl ... -
iOS 与 Armv6 Armv7 i386
2013-08-23 16:39 1131[size=medium]Armv6 binaries ... -
Difference: Category and Protocol
2013-07-14 16:45 548http://www.cnblogs.com/chijianq ... -
iOS 查看各个函数的执行顺序
2013-01-04 16:10 856- (BOOL)respondsToSelector:(SEL ... -
AutoReleasePool 学习笔记
2012-11-14 18:49 6411. In a reference-counted envir ... -
截取部分图片并显示
2012-09-14 11:15 802src : http://marshal.easymorse ...
相关推荐
本文档可以解决win10环境中使用ISE14.7的Simulation仿真时总是出错"ERROR:Simulator:861 – Failed to link the design" 解决方法和解决工具都在本文档里面!下载查看。
A Stock Exchange simulator to show how timers and randon number generators work together. A cool simulation for anyone who might think about playing the stocks and spending money and get a general ...
What you need to do in order to use the simulator instead of the android API, is to change the import from android.bluetooth to dk.itu.android.bluetooth (and also add the INTERNET permission in the ...
This book covers the creation of Tropical Tailspin (a casual flight simulator for the iPhone) from conception to completion as a published product on the App Store. The development process begins with...
language but was donated by Cadence Design Systems to the design community to serve as the basis of an open standard. That standard was formalized in 1995 by the IEEE in standard 1364-1995. About that...
IPhone_Simulator:这是iPhone Simulator的内部原理
The book continues right where Beginning iPhone 3 Development left off with a series of chapters devoted to Core Data, the standard for persistence that Apple introduced to iPhone with SDK 3....
作者配合 Introduction to Network Simulator NS2 原书提供的课件。对原书内容进行了诠释。
The CANopen Master Simulator is an easy to use software for data exchange with CANopen slaves of many suppliers via CANopen. Input data can be read and output data can be written with the currently ...
You’ll not only learn how to design for Apple’s devices, you’ll also master the iPhone SDK tools – including Xcode and Objective-C programming principles to make your app stand out. Whether you...
How to build, test and debug your Watch App on the simulator and on a real watch. Who this book is for This book is for existing iOS developers who want to understand and use WatchKit to extend their ...
In part A we start with the basics: how to create a single compartment neuron model with Hodgkin-Huxley conductances, how to run the simulator and how to display the simulation results. In part B we ...
计算机系统概论 英文版 作者: [美] Yale N. Patt'Introduction to Computing Systems: From bits & gates ... To understand the computer, the authors introduce the LC-3 and provide the LC-3 Simulator to give st
VS2008 C# 编写iPhone界面模拟器,带源码。
You'll not only learn how to design for Apple's devices, you'll also master the iPhone SDK tools -- including Interface Builder, Xcode, and Objective-C programming principles -- to make your app ...
Moreover, most of the functionalities in MRSim have an integrated help (which can be accessed just by typing help function) that allows to easily understand the dynamics of how to create and run ...
非常好的NS2 学习资料 英文的 包括ns2仿真入门 内核架构分析
the beginning of a simulator for lathe macine
A Game theoretic Evolutionary Network Traffic Simulator Agents is a tool for simulating dynamics of selfish users in traffic networks like the Internet. Classical Game Theory has been extensively ...
一本NS2相關的書籍, 非常適合想要學習NS2的人下載使用