iphone

Certificates and provisioning profiles

百般思念 提交于 2021-02-19 04:29:05
问题 I am looking for a more thorough guide on what the different steps of code signing an application. I have read the guide which is available in the provisioning portal, but I do not grasp the concept of certificates and provisioning profiles and the difference between developer and distribution. In XCode there are also different schemes (using XCode 4). I do not understand the purpose of it. I have successfully uploaded an application to AppStore so I do not need a guide on how to do it. What

Unable to add Siri capability in Xcode and apple developer centre too

有些话、适合烂在心里 提交于 2021-02-19 02:47:19
问题 I did a lot of research but didn't got any help. I am unable to add capability of 'Siri' in xcode and can't see any option in my apple developer account too, I am asked to purchase the membership instead. By any chance is it possible to create an app in iTunesConnect without making the payment of USD99. I just want to learn some new stuffs like Siri integration, but to do so I need to add the capability in app from developer account and to add an app I have to get enrolled and pay $99. Even

Video autoplay doesn't work on all iphone

一个人想着一个人 提交于 2021-02-18 19:00:28
问题 On the top of this homepage, I have a video with muted, autoplay and playsinline attributes. The video is autoplaying on desktop & mobile I've tested (Chrome, Safari, Firefox). Surprisingly, the video is not playing for lots of iPhone users, they have a PLAY button showing, requiring interaction then. Here is my code : <video id="vid" width="100%" height="auto" preload="auto" autoplay muted playsinline> <source src="http://www.nevada-club.com/wp-content/uploads/2018/06/Nevada_Club.mp4" type=

Is it possible to merge two video files to one file, one screen in iOS?

∥☆過路亽.° 提交于 2021-02-18 12:11:42
问题 I'm new to video programming. I'm trying to exercise it but I'm having trouble, which merges two video files to one. The merge I mean is as follows.. I have first video like this Second video also like this I want them to merge like this I didn't want to use 2 video players because I want to send the merged video file to someone. I searched all day to solve this, but I could't find how to. I wrote code referencing this link but it shows first video only, not merged. My Code: NSURL *firstURL =

screen.width/screen.height not updating after screen rotation

前提是你 提交于 2021-02-18 04:52:18
问题 I'm experiencing this problem on an iPhone device (iPhone 7, iOS 10, but also other iPhones too): in javascript, if I intercept the orientationchange event, inside the handler, screen.width and screen.height remain the same (as before rotation). Since this may depend from the viewport settings, this is how my viewport is declared in the .html file: <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no" /> Everything works fine

Launch Screen Image size for all iOS screen sizes

牧云@^-^@ 提交于 2021-02-18 03:24:08
问题 I am trying to create a lunch screen image for my iOS app. But I am not sure whats the right size for it. According to apple website for iPhone 6 the size should be 750 x 1334 (@2x) for portrait. But my question is, how to create a launch screen image that will fit for all screen sizes such as iPhone 5, 5s, 6, 6 plus, iPads etc? Whats the correct way of doing this? 回答1: Go to images.xcassets there you can see launch image sizes.Just Enable iOS version from right side. iPhone Portrait iOS 8:-

remove/hide rows outside minimum/maximum date range of UIDatePicker?

别等时光非礼了梦想. 提交于 2021-02-17 19:43:30
问题 I have a UIDatePicker with set minimum and maximum dates. I'm wondering if there is a way to hide the rows of the columns for the dates/times that are either before my minimum date or after my maximum date. Right now the picker displays every single day but only the current week is available to select (bold), what I would like is to have the numbers outside the range of the given week to be hidden from view. can this be done with the UIDatePicker provided by XCode or would I have to build my

Deprecation and other attributes of methods in Swift, how?

眉间皱痕 提交于 2021-02-17 09:13:08
问题 In Objective-C I can do this - (id)init __attribute__((unavailable("init is unavailable, use initWithFrame"))); to warn users that should not use that method for initialization of a class and I can add this other __attribute to deprecate a method +(void)shareWithParams:(NSDictionary *)params __attribute((deprecated("use shareWithPars: instead"))); Is that possible to do something like that in Swift? 回答1: Swift has an available attribute that you can use for this. It's available arguments

Ionic Cordova - iPhone X safe area has changed with iOS 13+

我与影子孤独终老i 提交于 2021-02-17 06:35:07
问题 I'm writing an app with cordova, Ionic v1, and AngularJS 1.5.3. ionic info Ionic: ionic (Ionic CLI) : 4.10.3 (C:\Users\User\node_modules\ionic) Ionic Framework : ionic1 1.3.5 @ionic/v1-toolkit : 1.0.22 Cordova: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 8.1.0, ios 6.1.0, browser 5.0.4, windows 4.4.3 Cordova Plugins : cordova-plugin-ionic-webview 4.1.3, (and 17 other plugins) System: Android SDK Tools : 26.1.1 (C:\Users\User\Documents\Android\sdk) NodeJS :

LibXML doesn't find any nodes for my xpath expression

你离开我真会死。 提交于 2021-02-17 04:41:51
问题 I'm using xpath and LibXML in an iPhone app to find some nodes in an xml document. I'm a noob in xpath so probably i am doing something wrong. Here is the xml: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetUserByEmailResponse xmlns="http://tempuri.org/"> <GetUserByEmailResult> <id>4006</id> <name>Kudor Gyozo</name>