ios11.2

iOS11 Cordova Angular 4 wrap breaking SecurityError: history.replaceState()

≯℡__Kan透↙ 提交于 2020-01-23 02:42:25
问题 I have an angular 4 application wrapped with cordova that was working perfectly fine before iOS11.1 Upgrading the phone to iOS11.1 I now receive the error Error: Uncaught (in promise): SecurityError (DOM Exception 18): Blocked attempt to use history.replaceState() to change session history URL from file:///var/containers/Bundle/Application/CE4A6135-633D-49B9-9A1D-28CBFF5AB832/MyAppName.app/www/index.html to file:///var/containers/Bundle/Application/CE4A6135-633D-49B9-9A1D-28CBFF5AB832

UIBarButtonItem will be always highlight when I click it [duplicate]

ε祈祈猫儿з 提交于 2019-12-18 05:02:53
问题 This question already has answers here : iOS UINavigationBar button remains faded after segue back (4 answers) Closed 2 years ago . - (void)viewDidLoad { [super viewDidLoad]; self.title = @"这是个bug?->"; self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:68/255.0 green:155/255.0 blue:235/255.0 alpha:1.0]; self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor]}; UIBarButtonItem *rightItem0 = [[UIBarButtonItem

autoplay muted video iOS 11.2

非 Y 不嫁゛ 提交于 2019-12-09 19:39:19
问题 I am currently working on a page with videos on it. Since iOS 11.2, it seems they disabled autoplay muted inlineplaying completely without a user gesture. Has anyone experienced this issue too? This all wouldn't be such a mess if there would be a possibilty to check whether it is possible to playinline or not. But like this it results in a new hack by UA sniffing. Edit: I have seen that i am have missed something. Autoplay is working, but trying to video.play() a muted inline video is not

Upgrading App to Swift 4 and iOS 11 - TwitterKit Issues

与世无争的帅哥 提交于 2019-12-07 13:35:47
问题 I'm trying to upgrade my app to latest iOS support. I've added TwitterKit via CocoaPods, and placed header in my Bridge Header. However; I am getting an error saying: Use of unresolved identified 'Twitter' - did you mean 'TWTRTTwitter'. func application(_ application: UIApplication, didFinishLaunchingWithOptions lauunchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { Twitter.sharedInstance().start(withConsumerKey:"MYKEY", consumerSecret:"MYSECRET") return true } This right out of the

Upgrading App to Swift 4 and iOS 11 - TwitterKit Issues

孤街浪徒 提交于 2019-12-06 02:18:15
I'm trying to upgrade my app to latest iOS support. I've added TwitterKit via CocoaPods, and placed header in my Bridge Header. However; I am getting an error saying: Use of unresolved identified 'Twitter' - did you mean 'TWTRTTwitter'. func application(_ application: UIApplication, didFinishLaunchingWithOptions lauunchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { Twitter.sharedInstance().start(withConsumerKey:"MYKEY", consumerSecret:"MYSECRET") return true } This right out of the Twitter recommended code. I also get it at: func application(_ app: UIApplication, open url: URL,

autoplay muted video iOS 11.2

╄→гoц情女王★ 提交于 2019-12-04 15:36:45
I am currently working on a page with videos on it. Since iOS 11.2, it seems they disabled autoplay muted inlineplaying completely without a user gesture. Has anyone experienced this issue too? This all wouldn't be such a mess if there would be a possibilty to check whether it is possible to playinline or not. But like this it results in a new hack by UA sniffing. Edit: I have seen that i am have missed something. Autoplay is working, but trying to video.play() a muted inline video is not working anymore. Just turn off the "Low Power Mode" ;) Found a working solution thanks to the WebRTC repo

UIBarButtonItem will be always highlight when I click it [duplicate]

不想你离开。 提交于 2019-11-29 07:28:55
This question already has an answer here: iOS UINavigationBar button remains faded after segue back 4 answers - (void)viewDidLoad { [super viewDidLoad]; self.title = @"这是个bug?->"; self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:68/255.0 green:155/255.0 blue:235/255.0 alpha:1.0]; self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor]}; UIBarButtonItem *rightItem0 = [[UIBarButtonItem alloc] initWithTitle:@"我会变灰" style:UIBarButtonItemStylePlain target:self action:@selector(recordButtonClick)]; [rightItem0

iOS UINavigationBar button remains faded after segue back

三世轮回 提交于 2019-11-26 20:48:59
In my app I have multiple view controllers, and most have a right-hand-side UIBarButtonItem with direct "show" segue actions attached. Having segued to another view and then pressed the '< Back' button, the original button item remains faded out, although still otherwise usable. This only appears to happen under iOS 11.2. I can't see any setting that could be doing this, and in at least one of the cases where this happens there's no specific segue unwinding nor viewDidAppear handling. I'd post some code, but AFAICS it's all just default UINavigationBar behaviour. This is a bug in iOS 11.2 and

iOS UINavigationBar button remains faded after segue back

这一生的挚爱 提交于 2019-11-26 07:44:18
问题 In my app I have multiple view controllers, and most have a right-hand-side UIBarButtonItem with direct \"show\" segue actions attached. Having segued to another view and then pressed the \'< Back\' button, the original button item remains faded out, although still otherwise usable. This only appears to happen under iOS 11.2. I can\'t see any setting that could be doing this, and in at least one of the cases where this happens there\'s no specific segue unwinding nor viewDidAppear handling. I