logo
down
shadow

IOS QUESTIONS

Apple in-app subscription : how to detect if the subscription is auto renewing?
Apple in-app subscription : how to detect if the subscription is auto renewing?
This might help you As per apple doc if user turned off auto renew, value of auto_renew_status flag will be 0. Please refer following apple doc for receipt field with description for more information
TAG : ios
Date : December 02 2020, 10:46 PM , By : user3045451
Fill SKShapeNode CGPath SCNMaterial
Fill SKShapeNode CGPath SCNMaterial
I wish this help you It's possible that the "SpriteKit rendering inside SceneKit rendering" code path has an issue. What happens if you use a CAShapeLayer instead of SKShapeNode?
TAG : ios
Date : December 01 2020, 04:52 PM , By : user3045146
iOS 9 Simulator in Xcode 10.3 missing
iOS 9 Simulator in Xcode 10.3 missing
will help you Apple seems to have a history of removing simulators without announcing it.Anyway, the solution was quite simple:
TAG : ios
Date : December 01 2020, 04:50 PM , By : user3045130
PWA and iOS push token
PWA and iOS push token
hope this fix your issue Safari does not support the Push API. Push notifications on iOS have to be done at a native app level.
TAG : ios
Date : December 01 2020, 04:50 PM , By : user3044986
How can I refresh iOS homescreen PWA on app reopen
How can I refresh iOS homescreen PWA on app reopen
fixed the issue. Will look into that further What happened for your PWA is that it saved the session state after you closed it. Starting iOS 12.2, Apple fixed PWA so that it is able to keep PWA session state. However, there is still a problem that Ap
TAG : ios
Date : December 01 2020, 04:47 PM , By : user3044600
How to set data from bottom to top while chat using firebase
How to set data from bottom to top while chat using firebase
I think the issue was by ths following , Populate your array in reverse order, Because when you inserting data into array you insert last message at zero index of array, so populate array in reverse order on collection view e.g Array.reverse or you c
TAG : ios
Date : December 01 2020, 04:45 PM , By : user3044369
Swift - Prevent creating two reference of class
Swift - Prevent creating two reference of class
wish of those help I have app delegate which is a single point in app. Also I've created ApplicationManager class which is a part of app delegate now. , Simply make your init private:
TAG : ios
Date : December 01 2020, 04:45 PM , By : user3044238
iOS - Setting first Screen after LaunchScreen
iOS - Setting first Screen after LaunchScreen
this one helps. You also need to set the view controllers that should be handled by the tabbar controller. In your case, you need to instantiate the view controller that displays the view in LoginView.xib - I assume it is called LoginViewController:
TAG : ios
Date : December 01 2020, 04:45 PM , By : polk6
Load image to Tab Bar Item from server
Load image to Tab Bar Item from server
Any of those help I don't know where is the problem in your code as I see only part of it. I tried to create TabBarController, tried to load image in viewDidAppear and everything works fine. Try my code
TAG : ios
Date : December 01 2020, 04:45 PM , By : user3044163
Uploading iOS .ipa file to testflight via Jenkins
Uploading iOS .ipa file to testflight via Jenkins
I wish this helpful for you Yes, there is a better option, strongly recommend Fastlane. You can check here and here is specifically for TestFlight
TAG : ios
Date : December 01 2020, 04:42 PM , By : user3044029
How to reuse view model instance for destination view in a NavigationLink
How to reuse view model instance for destination view in a NavigationLink
Any of those help Apologies, my code is adapted from yours as I've not updated to the latest beta yet, but this works for me. I've used the concept of "Lifting State Up" from React, and moved the model data into the Master view itself. From a playgro
TAG : ios
Date : December 01 2020, 04:42 PM , By : user3043975
Different icon for every feature in Feature Collection
Different icon for every feature in Feature Collection
I hope this helps . You may need to set the image name in the style. This adds the specified image to the style's images. If you would like to style to iconImageName based on the value for id, you may also want to try using NSExpression(forKeyPath:)
TAG : ios
Date : December 01 2020, 04:42 PM , By : user3043970
Why viewDidLoad function is not called?
Why viewDidLoad function is not called?
this one helps. It looks like you create and store you view controller, but present it wrapped in UINavigationController:
TAG : ios
Date : December 01 2020, 04:42 PM , By : user3043795
Launch Images for Dark or Light Mode
Launch Images for Dark or Light Mode
wish helps you As the Launch Screen loads before the app starts executing, it would not be possible to change the launch images set programatically.However, in the Image Set tab, you can change the Appearance option to enable a different set of image
TAG : ios
Date : December 01 2020, 04:40 PM , By : philster
Gigya Swift Facebook and Google Native login
Gigya Swift Facebook and Google Native login
this will help For facebook, i apparently forgot to input some code in my AppDelegate to handle the return from Facebook native app to my app.This is the code:
TAG : ios
Date : December 01 2020, 04:36 PM , By : hypovisor
match two arrays into one array. Not through the for loop
match two arrays into one array. Not through the for loop
wish of those help I have two arrays , You don't need two for loops, you just need one to loop over arrayB:
TAG : ios
Date : December 01 2020, 04:36 PM , By : wheelercreek
Get individual elements from a json
Get individual elements from a json
I think the issue was by ths following , I have a json response that looks like so: , Matches of team 1:
TAG : ios
Date : December 01 2020, 04:36 PM , By : user3043250
iOS Swift - URLSessionDataTask doesn't get updated JSON data on refresh
iOS Swift - URLSessionDataTask doesn't get updated JSON data on refresh
this will help This is due to URLSession caching the data from the server, this is usually sent in the header of the json file coming from the server.If you can't change anything on the server side then on you can just use the .ephemeral which apple
TAG : ios
Date : December 01 2020, 04:36 PM , By : user3043176
How to write the access for camera
How to write the access for camera
Hope this helps Actually I am trying to implement a QR APP ,for that I am trying to add the permissions to access camera and I have written the permissions even though that permission alert is not coming .Can anyone help me out to do this. in advance
TAG : ios
Date : December 01 2020, 04:36 PM , By : kesiena
Why I get error while creating IPA for iOS having Vuforia SDK?
Why I get error while creating IPA for iOS having Vuforia SDK?
hope this fix your issue I have released many enterprise builds for my project and for new version, I have used Vuforia SDK for AR functionality. While I am creating Enterprise build with Distribution certificate and profile (by which I have released
TAG : ios
Date : December 01 2020, 04:36 PM , By : sebastian
Listing photos in collection view
Listing photos in collection view
To fix the issue you can do I'm trying to do a multiple image selection to replace an image picker. , I was able to get the latest version of the image using the below
TAG : ios
Date : December 01 2020, 04:36 PM , By : user3043089
Can i have two versions of one App with different BundleIds and same display names?
Can i have two versions of one App with different BundleIds and same display names?
hope this fix your issue It is possible to set this new version up as a new app, you can even use the same screenshots. What you cannot re-use is the app name displayed to your customers on the App Store (Entered in App Store Connect). That is unique
TAG : ios
Date : December 01 2020, 04:36 PM , By : user3043043
Render video in plane use shaderModifiers , but the color is too light
Render video in plane use shaderModifiers , but the color is too light
Any of those help How do you generate the Metal textures? Try to use the "_sRGB" variants of the pixel format, for instance MTLPixelFormatRGBA8Unorm_sRGB instead of MTLPixelFormatRGBA8Unorm.Alternatively, try converting the final color (the rgb varia
TAG : ios
Date : November 29 2020, 12:01 PM , By : mawenzie
How to get an empty data from API using Alamofire in swift?
How to get an empty data from API using Alamofire in swift?
Hope that helps I need some assistance again regarding my codes. Bit confuse on how will the empty data be reflected from APIService going to ViewController. , If data is empty it will return empty array, so check
TAG : ios
Date : November 29 2020, 12:01 PM , By : Mediacodex
Create array of Json Data Items
Create array of Json Data Items
I hope this helps . Give a try to https://quicktype.io/You put json there. And get all necessary data structures to decode json
TAG : ios
Date : November 29 2020, 12:01 PM , By : Paul
How to group array of dates by months in swift?
How to group array of dates by months in swift?
Does that help Here's the code for a PlaygroundI think your structs should probably be Int values for the months, as when you go to populate something like a tableview, it'll be a PITA to re-order months if you've got them as Strings.
TAG : ios
Date : November 28 2020, 12:01 PM , By : user3042588
Header in collection view won't show up? Used to work?
Header in collection view won't show up? Used to work?
hop of those help? I migrated this project (an iMessage app with a collection view to hold stickers) from Swift 3 to Swift 5
TAG : ios
Date : November 28 2020, 12:01 PM , By : user3042395
Why is my delegate not working even when I complete all of the necessary steps?
Why is my delegate not working even when I complete all of the necessary steps?
I hope this helps you . I am trying to use a delegate to pass an array of data to the previous view controller. I have decided to use a delegate as my unwind segues are not working (more on that in a previous Stack Overflow post). I have created the
TAG : ios
Date : November 27 2020, 05:23 PM , By : user3042280
UIImageWriteToSavedPhotosAlbum freezes my view
UIImageWriteToSavedPhotosAlbum freezes my view
hope this fix your issue The problem is not that you're saving to the photo album incorrectly. The problem is that you are downloading incorrectly. Never call Data(contentsOf: url) as a way of downloading. Use URLSession. Now you will be downloading
TAG : ios
Date : November 27 2020, 05:23 PM , By : ibliss
How to write a model struct if the keys of the object are different
How to write a model struct if the keys of the object are different
This might help you I am trying to decode this data, but the keys are different, so I am not sure how to set a variable that can capture the unknown key , You can also decode it with:
TAG : ios
Date : November 27 2020, 05:23 PM , By : SoftwareN00B
Programmatically detect dark mode in SwiftUI to display appropriate Image
Programmatically detect dark mode in SwiftUI to display appropriate Image
hope this fix your issue You can use @Environment(\.colorScheme) var colorScheme: ColorScheme in any view to get whether the device is in dark mode (.dark) or light mode (.light). Using that information, you can conditionally decide which image to sh
TAG : ios
Date : November 27 2020, 12:01 PM , By : user3041800
Xcode 11 Beta 5 - Modal triggers only once
Xcode 11 Beta 5 - Modal triggers only once
I wish did fix the issue. This is the same issue as https://stackoverflow.com/a/57087399/3179416Just move your .sheet outside of your ForEach.
TAG : ios
Date : November 26 2020, 03:04 PM , By : jdouahussam
UITextField: Add margin between cursor and placeholder text
UITextField: Add margin between cursor and placeholder text
will be helpful for those in need Subclass UITextField and override placeholderRect(forBounds:).https://developer.apple.com/documentation/uikit/uitextfield/1619615-placeholderrect
TAG : ios
Date : November 26 2020, 12:01 PM , By : IanS
Turn an array of array of float numbers into UnsafeMutablePointer<UnsafeMutablePointer<Float>>
Turn an array of array of float numbers into UnsafeMutablePointer<UnsafeMutablePointer<Float>>
it should still fix some issue I need to use a function that uses UnsafeMutablePointer! as a parameter. It's written in a framework in Objective-C++ and I'm accessing it through a bridging header: , Figured out how to do it:
TAG : ios
Date : November 26 2020, 06:28 AM , By : user3041009
Can ARKit classes be used on a macOS CLI project?
Can ARKit classes be used on a macOS CLI project?
This might help you Unfortunately, the ARKit API is only available on iOS 11 and above. At the time of this post. The API relies on hardware features only available on an iPad or iPhone.You can see Apple's API support in their documentation. See SDK
TAG : ios
Date : November 26 2020, 06:28 AM , By : user3041000
UITableView: swiping RowAction cancels the selected rows
UITableView: swiping RowAction cancels the selected rows
I wish this helpful for you UITableView enters editing mode when you swipe a row in the table. This is your
TAG : ios
Date : November 26 2020, 06:28 AM , By : user3040952
How to delete cell from UItableview, when it is removed from Firebase in onChildRemoved method?
How to delete cell from UItableview, when it is removed from Firebase in onChildRemoved method?
To fix the issue you can do I am populating my uitableview with data from Firebase and when I remove the data from Firebase, it is still showing up. I do not know what to put in my onChildRemoved method to delete it. I have searched how to do it mult
TAG : ios
Date : November 26 2020, 06:28 AM , By : user3040919
SwiftUI: NavigationDestinationLink deprecated
SwiftUI: NavigationDestinationLink deprecated
I hope this helps you . After spending some time with NavigationLink(destination:isActive), I am liking it a lot more than the old NavigationDestinationLink. The old view was a little confusing, while the new approach seems much more elegant. And onc
TAG : ios
Date : November 26 2020, 06:23 AM , By : cherrie08
Does Firebase's putData (Storage) and setData (Database) keep trying until success/failure?
Does Firebase's putData (Storage) and setData (Database) keep trying until success/failure?
fixed the issue. Will look into that further So for Firestore Database (not Storage) it's literally one line. As for Firebase RTDB (or whatever it's called), i'm pretty sure it's similarly one or two lines. For storage, check out this link and this l
TAG : ios
Date : November 26 2020, 06:23 AM , By : techniconline
How to allow an app to access internet on ios?
How to allow an app to access internet on ios?
hope this fix your issue One possible problem is ATS you can read hereWhat you need to do is adding the following snippet into app/App_Resources/iOS/Info.plist. There is a tag in there with a lot of content in it. All you need to do is putting this i
TAG : ios
Date : November 26 2020, 06:18 AM , By : user3040210
While converting NSString to String my result changes
While converting NSString to String my result changes
I hope this helps you . You have a file name which has all the special characters here, I tried your case in a sample project trying to load such file in UIDocumentInteractionController and it seems when I have a file name with special character in m
TAG : ios
Date : November 25 2020, 12:01 PM , By : user3040049
Swift - Save array of [String: Any] to NSUserDefauls
Swift - Save array of [String: Any] to NSUserDefauls
I wish did fix the issue. You can use JSONSerialization.data(withJSONObject: Any) to encode your dictionary and JSONSerialization.JSONObject(with: Data) to decode it. You just need to make sure you pass a valid json object (in this case a dictionary)
TAG : ios
Date : November 25 2020, 12:01 PM , By : Aman Tuladhar
Value of type 'Character' has no member 'isUppercase'
Value of type 'Character' has no member 'isUppercase'
will help you If you are getting this error Value of type 'Character' has no member 'isCurrencySymbol' then it is very likely your XCode is lesser than version 10.2Check your XCode version. If it is less than 10.2 you'll get this error and you need t
TAG : ios
Date : November 24 2020, 12:01 PM , By : user3038721
How to write alamofire request function that returns the response?
How to write alamofire request function that returns the response?
hope this fix your issue I am writing a function to call a POST request using AlamoFire. I am passing URL and parameters. I need to return the response of the Alamofire request. , You can pass a closure as a parameter to the function like this
TAG : ios
Date : November 24 2020, 12:01 PM , By : user3038623
Can we transfer data between two iPhone devices using NFC in iOS?
Can we transfer data between two iPhone devices using NFC in iOS?
may help you . Not directly between two phones. You can read from a tag and write to a tag, but iOS doesn't provide support for Card Emulation. This means that you can't make iPhone "A" look like a tag, which is what would be necessary for iPhone "B
TAG : ios
Date : November 24 2020, 05:49 AM , By : Vavou
Why my app is showing App with name __FIRAPP_DEFAULT does not exist
Why my app is showing App with name __FIRAPP_DEFAULT does not exist
it fixes the issue I am developing flutter ios app with frebase. I want to login to the app using sms authentication. When i am running the app it is fetching details from db. But it is showing the error in app launching time. The error is - [Firebas
TAG : ios
Date : November 24 2020, 05:49 AM , By : user3038394
When change focus between UITextfields has secureTextEntry is true, shift button is flickering
When change focus between UITextfields has secureTextEntry is true, shift button is flickering
should help you out It's not an issue it is only occurs when your textField language not supported capitalised locale. So when you swap from textField2 to textFiled1 it locks locale capitalisation which you can maintain by using shift key
TAG : ios
Date : November 24 2020, 05:49 AM , By : svenskafr
How to fix conflicting provisioning settings in xcode?
How to fix conflicting provisioning settings in xcode?
This might help you You need to refresh the code signing to set it automatically(It is easy if you don't put specific one).Open the project in Xcode by running open ./platforms/ios/{appname}.xcworkspace and just disable, enable automatic signing in t
TAG : ios
Date : November 24 2020, 05:49 AM , By : user3038284
iOS: Can't get first item value from Range<CGFloat>
iOS: Can't get first item value from Range<CGFloat>
Hope this helps first is a method of the Collection protocol (and last a method of BidirectionalCollection). A Range is a (bidirectional) collection only if the underlying element type is an integer type, or any other type that conforms to the Stride
TAG : ios
Date : November 24 2020, 05:49 AM , By : Jack Sparrow
how to convert a collection view to circular icarousel in swift
how to convert a collection view to circular icarousel in swift
I hope this helps you . I tried to create sample project and it was pretty simple, here is example code how you can implement "infinite" scroll
TAG : ios
Date : November 24 2020, 05:48 AM , By : user3037971
how to write bytes data in file swift
how to write bytes data in file swift
it fixes the issue You can use this function to write data. Code is self explanatory, but I tried to make it more clear.
TAG : ios
Date : November 24 2020, 05:48 AM , By : user3037967
webview clipped on ios7
webview clipped on ios7
will help you I think this is a CSS issue. Apparently webkit has a few different text clipping issues that can be solved just by adding nbsp; at the end of any text line. Directly after a word has been clipped.Could you try modifying one of your html
TAG : ios
Date : November 23 2020, 12:01 PM , By : jopes
Xcode 5 can't find an armv7s architecture in a static library even though file and lipo say it's there
Xcode 5 can't find an armv7s architecture in a static library even though file and lipo say it's there
this one helps. It turns out Xcode was just being Xcode and Product/Clean Build Folder (⌥⇧⌘K) fixed it.
TAG : ios
Date : November 23 2020, 12:01 PM , By : Anusha
RestKit responseDescriptor mapping without KVC
RestKit responseDescriptor mapping without KVC
it fixes the issue Your problem is path patterns in relation to your base URL. They currently don't match.I would set the bast URL to: ...com/api/. Then both the response descriptor path pattern and the get objects path are login. Now everything matc
TAG : ios
Date : November 23 2020, 12:01 PM , By : Christer Sonesson
NSMutable Array problems
NSMutable Array problems
I wish did fix the issue. Error at case (1) happens because you reload your table view 3 times. and every time you say to your tableView that it has 3 rows via numberOfRowsInSection: method. But in first and second iteration your self.logoURL has onl
TAG : ios
Date : November 23 2020, 12:01 PM , By : razan mkz
how to get rid of the unwanted top cells of table view
how to get rid of the unwanted top cells of table view
I think the issue was by ths following , You should change number of rows in tableView:numberOfRowsInSection:. Obviously, if you remove three rows, number of rows will change. It will also affect the indexPath in tableView:cellForRowAtIndexPath: meth
TAG : ios
Date : November 23 2020, 12:01 PM , By : Bharat
Sprite Kit - Defining the variables for multiple scenes
Sprite Kit - Defining the variables for multiple scenes
around this issue 1 - Subclassing is the answer. Create a class BaseScene, which is a subclass of SKScene. Include all the common elements of all the scenes here. This includes not only the bitmask categories, but also any methods or other properties
TAG : ios
Date : November 23 2020, 12:01 PM , By : abdo mohamed
Segment Control Issue in cornerradius in ios
Segment Control Issue in cornerradius in ios
this one helps. I am developing an app in which I want to use segmented control with a radius corner. With setCornerRadius and setBorderColor, I have set corner radius and color. , Set the clipsToBounds property to YES
TAG : ios
Date : November 23 2020, 12:01 PM , By : Keith knight
didSelectRowAtIndex isn't working
didSelectRowAtIndex isn't working
Does that help I am trying to push a url string to my Main and it present my main view controller when I press on the cell. , You need to call
TAG : ios
Date : November 23 2020, 12:01 PM , By : vrashti jain
In App Purchase not working on iPhone 3,4
In App Purchase not working on iPhone 3,4
it should still fix some issue I don't think this is relevant with the model of phones.Is the app on sandbox mode? If it is, there must not be any iTunes account saved on the phone. Log out from your accounts on each phone. You can "only" test succes
TAG : ios
Date : November 22 2020, 12:01 PM , By : sandip dey

shadow
Privacy Policy - Terms - Contact Us © festivalmusicasacra.org