ios-simulator

save videos in iphone simulator & upload it to the web services

浪尽此生 提交于 2019-12-02 04:50:33
I just want to know that how I can save the videos to the iphone simulator & how I can upload it to the web services? Thanks. vpc=[[UIImagePickerController alloc] init]; vpc.delegate=self; vpc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; vpc.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:vpc.sourceType]; vpc.allowsEditing = NO; vpc.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie]; [self presentModalViewController:vpc animated:YES]; i am doing this it gives an error, kuTType undeclared before it used, i dont know about the kuTTypeMovies,

scrollable div is not working in android emulator,iphone simulator

半城伤御伤魂 提交于 2019-12-02 04:46:26
I am using phonegap. I want to keep a fixed header and footer,and i want to scroll the content in between them. For that i used div with: div { width: 249px; height: 299px; background-color:Gray; overflow-y: auto; } style. But the div is not scrolling. But in browser it is fine. iOS doesn't allow scrolling within an element (div with overflow:scroll/auto or frames) so you can either design your site around that (usually for the best) or you can try iScroll, which is a javascript plugin designed to re-instate this ability: http://cubiq.org/iscroll-4 Good luck. Div scrolling does work in iOS if

Is it possible to access a photo's geotag metadata from within the simulator?

巧了我就是萌 提交于 2019-12-02 03:50:52
I've written an app that retrieves a photo's GPS metadata, and it works on my iPhone but doesn't in the simulator. If I drag a photo containing geotags onto the simulator, it gets placed into the photo library. Then, my app issues this code: ALAssetRepresentation *assetRepresentation = [asset defaultRepresentation]; NSDictionary *metadata = [assetRepresentation metadata]; and metadata contains all sorts of items, but not GPS. Is there some trick to getting the simulator to recognize GPS metadata? Alternatively, what I'm trying to do is run the app in the simulator as many different devices to

Is there a faster way to change accessibility (dynamic type) text size on iOS simulator?

时光毁灭记忆、已成空白 提交于 2019-12-02 03:18:46
问题 On my iPhone XS, I created a shortcut in the Control Center to quickly change the text size and test to make sure all the sizes work on my iPhone. However, I'm often in the simulator trying to test, and it's tedious to need to switch to the Settings app and go through multiple menus to switch the text size. Since the simulator has no Control Center, is there another way to more easily change the text size? 回答1: The best way to reach your goal depends on the Xcode version you're using. In

Can't update calabash server version

99封情书 提交于 2019-12-02 02:20:57
Having a problem updating the Calabash server version. The problem is that I can run basic tests that check for elements... However, once I try to "touch" buttons calabash returns RuntimeError: Could not parse response ''; the app has probably crashed The origin of the problem, I believe, is that my server version is old/incompatible. Not rocket science: WARN: The server version is not compatible with gem version. Please update your server. https://github.com/calabash/calabash-ios/wiki/B1-Updating-your-Calabash-iOS-version gem version: '0.14.3' min server version: '0.14.3' server version: '0.9

Select an appropriate iOS version from simulators list in XCode 6.0.1

混江龙づ霸主 提交于 2019-12-02 01:13:09
I've recently installed XCode 6.0.1 complete version and it came with default iOS 8 simulators. My current project is targeted to iOS 6 , so I did copy old iOS simulators into new XCode (as I did it before with old versions of XCodes ). But in the simulators' list I can't distinguish the appropriate iOS version. I don't know which of them iOS 6 or iOS 8 . Below paths are where I copied old simulators from and into respectively /Applications/Xcode 5.1.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs /Applications/Xcode 6.0.1.app/Contents/Developer/Platforms

How to get iPod Touch simulator in Xcode 6.1

做~自己de王妃 提交于 2019-12-02 00:17:28
问题 My game app works on all iPhone's and all iPad's. I also want it to work on all iPod Touches. There is no iPod Touch simulator in Xcode 6.1. So how do I work on it? 回答1: You have to keep in mind, that the iPhone simulator is just a simulator. It is not the real device. The reason why there is no iPod Touch simulator is, because there would be no difference between the iPhone 5 and the current iPod Touch, since both have the same screen size and both have a 32 Bit architecture. They may have

cordova file transfer plugin not working in ios simulator

删除回忆录丶 提交于 2019-12-01 22:35:15
I'm trying to use the camera plugin and file transfer on my project. They work fine on android but when I tested on ios simulator, I'm getting an empty request body on the server when I try to upload a photo using the cordova file transfer plugin. In the code below, the photo_url is the response that I get from the camera plugin. This contains the full path of the photo that I selected from the gallery. Here's the value that I got when I used console.log : file:///Users/user/Library/Developer/CoreSimulator/Devices/87045654-FB0C-40E8-97A8-5634FC2D05E7/data/Containers/Data/Application/E0810976

How to get iPod Touch simulator in Xcode 6.1

拥有回忆 提交于 2019-12-01 22:26:18
My game app works on all iPhone's and all iPad's. I also want it to work on all iPod Touches. There is no iPod Touch simulator in Xcode 6.1. So how do I work on it? You have to keep in mind, that the iPhone simulator is just a simulator. It is not the real device. The reason why there is no iPod Touch simulator is, because there would be no difference between the iPhone 5 and the current iPod Touch, since both have the same screen size and both have a 32 Bit architecture. They may have different hardware, but that doesn't matter You can however, if you want to, make a new simulator based on

Is it possible to simulate a phone call on iPhone simulator?

你离开我真会死。 提交于 2019-12-01 21:14:56
I am building an app that will make a phone call. How can I test this feature on the simulator? I get no response when I call openURL . Though of course this does work on the actual device. Also is it possible to know whether the iPhone is currently in calling mode? Sorry Pal. You cannot check it in on a simulator. All the best. 来源: https://stackoverflow.com/questions/4447763/is-it-possible-to-simulate-a-phone-call-on-iphone-simulator