ios9

iphone sticky menu jquery onscroll ios 9

蓝咒 提交于 2019-12-14 04:27:07
问题 This code was working fine on my iphone before updating to iOS 9.0.1 (13A404), but now the same code seems to be working only after finger release, or after the jQuery onscroll ends, when I do a quick swipe leaving the page scrolling... $(document).on('scroll', function(){ if( $(this).scrollTop() > 0){ $('.menu').addClass('sticky'); }else{ $('.menu').removeClass('sticky'); } }); The sticky menu just disappears until I release the finger up from the screen, losing the "stickying" effect in

Caching behavior of AVURLAsset

久未见 提交于 2019-12-14 03:14:31
问题 I am using AVURLAsset with various AV/MP player classes and it seems like it is ignoring my server's caching headers. I am working with small, progressively downloaded videos (not HLS). Is there a way to ensure that videos are cached? Is there a way to pre-cache videos so they play right away? I have experimented with simply changing parameters in NSURLCache, but I haven't had any luck so far. I also can't find any direct way to manipulate how URL fetches are cached by AVURLAsset. I do not

iOS9 Gamecenter error “plugin com.apple.GameCenterUI.GameCenterMatchmakerExtension invalidated”

丶灬走出姿态 提交于 2019-12-14 01:49:36
问题 Since the release of iOS 9, my app has now started to give me the error "plugin com.apple.GameCenterUI.GameCenterMatchmakerExtension invalidated" anytime a user interacts with the matchmaker viewcontroller such as dismissing the matchmaker viewcontroller or establishing a match. I have tried many different things I thought could solve the issue but have had no luck. Can someone please help me solve this issue? It is blocking me from continuing the development of my app on iOS 9. 回答1: I get

Xcode 7 - Code coverage data generation failed

≡放荡痞女 提交于 2019-12-14 00:14:42
问题 When I run my tests I get an error: Code coverage data generation failed. Unable to retrieve the profile data files from 'UIDevice'. On console was printed warning: Timed out waiting 120 seconds for simulator to boot, current state is 1. What is the reason? 回答1: If you are integrating your project with a 3rd party dynamic framework, you may need to add a path in your build settings. Look for ->Build Settings->"Runpath search paths" and make sure it includes the path to the framework. I was

ios remote keyboard window

怎甘沉沦 提交于 2019-12-13 21:18:32
问题 In iOS 9, I see a new window appearing in my app that I didn't see before. An image is below. From walking the view tree, I suspect it may be coming from the UIRemoteKeyboardWindow -- but I don't know that. What is it, and what do I have to do to keep it from appearing? EDIT: As a commenter pointed out, this is tied to the inputView, i.e. the keyboard. I don't want a keyboard and so disabled it by calling self.inputView = [[UIView alloc]initWithFrame: CGRectZero]; That did kill the keyboard,

Creating a dynamic MKAnnotationView in Swift

只愿长相守 提交于 2019-12-13 19:01:52
问题 Currently, I know how to create a MKAnnotationView with a static pin, an image that's added. Does anyone know, or have any resources, on how to create a pin that would change colors or have a number displayed inside of it that would change depending on information about the business? For instance, I would like to have a pin be red when the business is closed, and green when the business is open. Maybe even a dollar signs inside of the pin to tell the user how expensive it is. EDIT I have

On Demand Resources “0 Asset Packs”

一个人想着一个人 提交于 2019-12-13 15:27:37
问题 I recently started implementing On Demand Resources to my app. Everything is fine and dandy when I deploy the app to my phone from Xcode. But when I upload the binary to iTunes Connect it says "0 Asset Packs": The asset tags in Xcode look fine: Here's what the build settings of Assets looks like: I'm testing via TestFlight and in the app I get an error saying "The requested application data doesn't exist." I tried the following: Removed / readded the resource tags in Xcode Uploaded 3 slightly

ios9 Safari miscalculating sum

心已入冬 提交于 2019-12-13 13:06:20
问题 I have some code that calculates the sum of key/values in a hash in a loop. It appears to be calculating the sum in a different manner on ios9 Safari compared with anywhere else. Although I can find a way to fix this individual use case, we use this type of syntax throughout our large code base, so I am looking for some understanding of why this is happening in ios9 if there is a way to globally fix it that would be applicable to all objects that might have a Vue __ob__ object on them. Try

How to add NSExceptionDomains to plist of xcode Version 7.0.1?

爱⌒轻易说出口 提交于 2019-12-13 12:54:42
问题 I would like to bundle a HTML based website as an iPhone app using Xcode Version 7.0.1, everything works fine and my only issue is that when I test the application on iPhone 4s, it wont show images that are accessed through http . However, I could access images of another website that provide https access to its images. Is there any way to add http support to the bundle? Update I added an NSExceptionDomains to my plist file, but I still have the same issue <?xml version="1.0" encoding="UTF-8"

UILocalNotification issue with iOS9

隐身守侯 提交于 2019-12-13 11:59:00
问题 Since iOS9, local notification aren't working properly. Sometimes users receive the notification, sometimes they just don't. My notifications are repeated daily. Any idea what might causing the issue? I saw some posts, that there's a bug in iOS9, but I'm not sure that's the reason. Here's a piece of code: NSDate *alarmDate = [date dateByAddingTimeInterval:DEFAULT_SNOOZE_DURATION * i]; UILocalNotification *localNotif = [[UILocalNotification alloc] init]; localNotif.fireDate = alarmDate;