![]() You may need to create DCIM if it doesn't already exist, and in that case you should start nnnn from 0001. It doesn't matter if they are not JPEGs - they can both be PNGs, but it appears that both of them must be present for it to work. You will then need to reset your simulator (Hardware->Reboot) to allow it to notice the new changes. ~/Library/Developer/CoreSimulator/Devices//data/Media/DCIM/100APPLEĪnd add IMG_nnnn.THM and IMG_nnnn.JPG. Or you can ensure the simulator is running and run the following to get the device ID xcrun simctl list | grep Booted Identify your simulator by going to xCode->Devices, selecting your simulator, and checking the Identifier value. ![]() Note - while this is valid, and works, I think Koen's solution below is now a better one, since it does not require rebooting the simulator. If you want a scriptable method, read on. This will cause the Simulator to open the Photos app and start populating the library. The simplest way to get images, videos, etc onto the simulator is to drag and drop them from your computer onto the simulator.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |