ios7

<form target=“_blank”> not working in iOS 7.0.3

不想你离开。 提交于 2019-12-30 07:02:11
问题 Following code works perfectly in iOS 6.0.1 (using iOS virtual keyboard, I pressed "Go" button on input box) <html> <body> <form action="http://stackoverflow.com/" target="_blank"> <input type="text" /> </form> </body> </html> But when I tried the exact same code on iOS 7.0.3, this does not work at all. No response after I press "Go" button on iOS keyboard. If I remove [target="_blank"] from form tag, then it works properly. I have no idea what is the reason for this problem. Does anyone have

What is SKSpinLockSync in Sprite Kit and how do I fix it

落爺英雄遲暮 提交于 2019-12-30 06:39:32
问题 I am receiving a bug report with the following stack trace and I have no idea what the problem is. I've seen suggestions that this could be caused by having an emitter's image in a texture atlas or by removing an emitter in the same run loop as it is added but I don't think either of these is happening. It's a sporadic issue and I can't recreate it. I only see it in bug reports. I would love any help. 0 libsystem_platform.dylib OSSpinLockLock + 1 1 SpriteKit SKSpinLockSync(int*, void ()()

Is it possible to build iphoneos6.1 projects in Xcode 5, preserving the behaviour of views laid out in an Xcode 4.6.3 storyboard?

只谈情不闲聊 提交于 2019-12-30 06:39:28
问题 Our build server was recently updated to use Xcode 5's xcodebuild. We've installed the iphoneos6.1 so that we can still use iPhone SDK 6.1 for some legacy projects that do not yet support iOS7. However, when we use xcodebuild to build these projects using -sdk iphoneos6.1, we still see problems with UIViewController's contents being laid out underneath navigation bars and tab bars. Is there some way to build these projects that were developed with Xcode 4.6.3/base sdk iOS 6.1 using Xcode 5's

Is it possible to build iphoneos6.1 projects in Xcode 5, preserving the behaviour of views laid out in an Xcode 4.6.3 storyboard?

懵懂的女人 提交于 2019-12-30 06:39:22
问题 Our build server was recently updated to use Xcode 5's xcodebuild. We've installed the iphoneos6.1 so that we can still use iPhone SDK 6.1 for some legacy projects that do not yet support iOS7. However, when we use xcodebuild to build these projects using -sdk iphoneos6.1, we still see problems with UIViewController's contents being laid out underneath navigation bars and tab bars. Is there some way to build these projects that were developed with Xcode 4.6.3/base sdk iOS 6.1 using Xcode 5's

Application doesn't launch with location key after a significant location change

六月ゝ 毕业季﹏ 提交于 2019-12-30 05:30:07
问题 My application uses the core location also after the application terminates with the method startMonitoringSignificantLocationChanges in CLLocationManager class. My application launches with a location key in iOS 5 and 6 in the method: - (BOOL) application:application didFinishLaunchingWithOptions:launchOptions; in AppDelegate class and everything works well. But in iOS-7 betas the application doesn't launch with a location key after a significant location change. Has anybody encountered this

How to fill outside overlay circle in iOS 7 on map

我的未来我决定 提交于 2019-12-30 05:17:05
问题 I need the same filled space around circle on the map as in Reminders app in iOS7. I think need to use the method applyFillPropertiesToContext:atZoomScale or fillPath:inContext: . 回答1: I solved my problem: - (void)drawMapRect:(MKMapRect)mapRect zoomScale:(MKZoomScale)zoomScale inContext:(CGContextRef)context { // Fill full map rect with some color. CGRect rect = [self rectForMapRect:mapRect]; CGContextSaveGState(context); CGContextAddRect(context, rect); CGContextSetFillColorWithColor(context

Example for iPhone portrait landscape adaptive UI which is backwards-compatible with iOS 7

心已入冬 提交于 2019-12-30 05:00:05
问题 I have read this thread How can Xcode 6 adaptive UIs be backwards-compatible with iOS 7 and iOS 6? and especially the answers from Dave and Joey. Still I am having a hard time getting a simple example to work: xcode 6, size classes enabled, iPhone iOS 7, uibutton width 100 on portrait mode, width 400 on landscape mode. And say width 600 on iPad. I just can't get this to work. I tried different combinations of setting width constraint, but either the button width is 100 in both orientation

UILabel: Custom underline color?

喜夏-厌秋 提交于 2019-12-30 04:21:15
问题 I need the text of a UILabel to be black, but have a light gray underline under the text. Is this possible with NSAttributedString or TTTAttributedLabel ? Or is custom drawing using Core Graphics needed? CLARIFICATION: I need a specific color text on a different color underline. Example: blue text on red underline. 回答1: You can do with NSAttributedString as below. NSMutableAttributedString* string = [[NSMutableAttributedString alloc]initWithString:@"you string"]; [string addAttribute

How to use default iOS images?

放肆的年华 提交于 2019-12-30 03:50:51
问题 I know how to use images in iOS application. But I don't know how to use default images like share or bookmark icons which are mention in developer site. I want to use them. Do I need to download those set of images or those are available in Xcode? If we have to download them, where I can get those icons? 回答1: Developers haven't direct access to these images. I mean that you can't initialise image object like this: UIImage *image = [UIImage imageNamed:@"name_of_system_image"]; But you can

iOS7 and iOS8: how to detect when user said No to a request for push notifications

时光毁灭记忆、已成空白 提交于 2019-12-30 02:45:08
问题 I am building an app that targets iOS7 and iOS8. I ask the user for permission to send push notifications. But for some reason, neither iOS7 nor iOS8 ever calls my application:didFailToRegisterForRemoteNotificationsWithError handler if I click "No" when asked for push permission. My question: how do I know, on both iOS7 and iOS8, when the user has dismissed the request for push notifications--and how do I know if they denied the request? I've looked at a bunch of StackOverflow answers and