ios-simulator

App settings appear in simulator but not on device?

你说的曾经没有我的故事 提交于 2020-02-25 04:33:04
问题 Hey folks, I'm setting up my first application settings bundle right now. I went through the process of creating a Settings.bundle in the project root, settings the Root.plist to display as an iPhone Settings plist, etc. So – the app's settings panel displays in Settings.app just as I would expect in the iPhone Simulator. However, it is not present in my device settings when I deploy there. My test device is an iPod Touch running iOS4. I've rebooted the device just to make sure everything has

Flickering animation with UIViewAnimationTransitionFlip

我怕爱的太早我们不能终老 提交于 2020-02-23 06:48:10
问题 I have a containerview with 2 subviews. I want to flip from one to another. The problem is that some kind of flickering appears. It doesn't happen on the iPhone 3GS, but on the Simulator and the iPhone 3G: http://www.hanspinckaers.com/upload/Flickering.png Does anyone know why this happens? This is the code: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration: 0.75]; [UIView setAnimationDidStopSelector:@selector(afterAnimationProceed)]; [UIView setAnimationDelegate:self];

Flickering animation with UIViewAnimationTransitionFlip

南楼画角 提交于 2020-02-23 06:48:05
问题 I have a containerview with 2 subviews. I want to flip from one to another. The problem is that some kind of flickering appears. It doesn't happen on the iPhone 3GS, but on the Simulator and the iPhone 3G: http://www.hanspinckaers.com/upload/Flickering.png Does anyone know why this happens? This is the code: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration: 0.75]; [UIView setAnimationDidStopSelector:@selector(afterAnimationProceed)]; [UIView setAnimationDelegate:self];

XCode Simulator: how to change its shortcuts?

假装没事ソ 提交于 2020-02-18 22:14:46
问题 When the simulator in XCode is running, the default shortcuts for rotation are Cmd+Left and Cmd+Right. Is there any way to change them? For example, change them to Ctrl+Left & Ctrl+Right? 回答1: I was able to change Simulator shortcuts by doing the following: Open Simulator Right click the icon in the tray Select Options > Show in Finder Copy Simulator.app to your /Applications directory At this point, you won't be able to run Simulator.app from the /Applications directory, but that's ok, we're

iPhone Simulator Icon Black

别等时光非礼了梦想. 提交于 2020-02-05 08:20:13
问题 I have two Icon files in my plist: icon.png icon@2x.png Both are added to my project, added to the target and are 57x57 and 114x114 pixels respectively, both 72 dpi. They are both pngs generated from a .svg. I filled out the transparency with white. The rest of the coloring is black. I have tried deleting the app, clearing derived data and re-running. Why is this icon showing a black square in the iPhone 6 simulator? EDIT: Tried renaming to capital I in Icon.png and Icon@2x.png. Wiped app,

iPhone Simulator Icon Black

允我心安 提交于 2020-02-05 08:19:41
问题 I have two Icon files in my plist: icon.png icon@2x.png Both are added to my project, added to the target and are 57x57 and 114x114 pixels respectively, both 72 dpi. They are both pngs generated from a .svg. I filled out the transparency with white. The rest of the coloring is black. I have tried deleting the app, clearing derived data and re-running. Why is this icon showing a black square in the iPhone 6 simulator? EDIT: Tried renaming to capital I in Icon.png and Icon@2x.png. Wiped app,

iPhone Simulator Icon Black

自古美人都是妖i 提交于 2020-02-05 08:19:21
问题 I have two Icon files in my plist: icon.png icon@2x.png Both are added to my project, added to the target and are 57x57 and 114x114 pixels respectively, both 72 dpi. They are both pngs generated from a .svg. I filled out the transparency with white. The rest of the coloring is black. I have tried deleting the app, clearing derived data and re-running. Why is this icon showing a black square in the iPhone 6 simulator? EDIT: Tried renaming to capital I in Icon.png and Icon@2x.png. Wiped app,

Optimization for newest iPad Pro Simulator

可紊 提交于 2020-01-31 10:49:07
问题 I have installed the newest Xcode 7.1 beta and trying to run my project on the iPad Pro Simulator. Everything is right and all of the features work correct. But I have an issue with the screen size... On the main screen of application I run the next log: NSLog(@"%f", self.view.bounds.size.width); I have 1024 for landscape orientation. But when I create a new application in Xcode 7.1 and run the same code on the main screen I get another value: 1366. Today I plan to find diffs between project

Optimization for newest iPad Pro Simulator

落爺英雄遲暮 提交于 2020-01-31 10:48:25
问题 I have installed the newest Xcode 7.1 beta and trying to run my project on the iPad Pro Simulator. Everything is right and all of the features work correct. But I have an issue with the screen size... On the main screen of application I run the next log: NSLog(@"%f", self.view.bounds.size.width); I have 1024 for landscape orientation. But when I create a new application in Xcode 7.1 and run the same code on the main screen I get another value: 1366. Today I plan to find diffs between project

Where are user defaults plist files stored in iOS8?

痴心易碎 提交于 2020-01-31 09:30:19
问题 I can't find preferences .plist file, because Preferences folder is empty. To get Library folder I use: println(NSSearchPathForDirectoriesInDomains(.LibraryDirectory, .UserDomainMask, true)[0]) Xcode 6 beta 5, iOS Simulator 回答1: The folder hierarchy has changed under iOS8. All preferences are now stored under the common /Library/Preferences folder. Notice, this is not the Library folder under your app's container, it's the general Library folder. For the simulator, the exact folder is: ~