All Questions
Tagged with objective-c ios
166,496
questions
0
votes
0
answers
11
views
Unable to create framework in Xcode 15 with Objective-C throwing error "Command PhaseScriptExecution failed with a nonzero exit code"
I am trying to create objective C Network framework using Xcode 15 with minimum supported iOS version 14.0.
Here are the steps I am following:
I created New> Project> framework> Objective C&...
0
votes
0
answers
15
views
How to corroct get notification permission in Objc?
I have a way to get push permissions.
But what I get every time is not the correct value.
How can I rewrite this method?
My push permission has been enabled, but it still prints out 555 first and then ...
-1
votes
0
answers
22
views
How to call "AutoFill Password" dialog like click password button in iOS system keyboard?
I want call "AutoFill Password" dialog like click password button in iOS system keyboard. Is Any iOS API can do that?
I've try using ASAuthorizationPasswordRequest and ...
-1
votes
0
answers
10
views
“'FIRMessaging' has different definitions in different modules; first difference is defined here found property”
I am currently upgrading an iOS project to version 7.1.0 by creating a new Cordova project. After integrating the 'NativeLogs' plugin, the build process in Xcode fails with multiple errors, one of ...
0
votes
0
answers
21
views
setValidatesSecureCertificate:NO causing error
I am working on old project and something weird is happening.
Below is the code we have.
-(void)startRequest{
if (![NetworkConnect connectedToInternet]) {
[self onError];
return;
...
0
votes
1
answer
26
views
Exclusion of a directory from backup : NSURLIsExcludedFromBackupKey does not always stick even though setResourceValue has reported success
I want to exclude a directory in documents storage class from backup.
Setting exclusion attribute like so
+ (BOOL)kit_addSkipBackupAttributeForItemAtURL:(NSURL *)url
{
if (![[NSFileManager ...
0
votes
1
answer
51
views
Retrieve an audio file such as an mp3 from the documents directory in Objective-C or Swift
I would like to store and retrieve audio files such as MP3s in the user's documents directory. When I do this with images I can simply fetch the file as a UIImage. However, I'm struggling with what ...
0
votes
1
answer
35
views
AutoFill password into UITextField
I want to implement such a function: a password UITextField, using the system Jiugongge numeric keypad(textField.keyboardType = .numberPad), and enable to automatically fill the password. like this:
...
1
vote
1
answer
19
views
CGContextDrawImage: invalid context 0x0. Failed to bind EAGLDrawable to GL_RENDERBUFFER 2
I'm working on a custom UIView subclass in my iOS project that involves using GLKView and CAEAGLLayer for camera rendering and applying beauty filters. The main goal is to capture video from the ...
0
votes
0
answers
49
views
Generating a signature for promotional offers in Objective-c
My requirements are to generate a signature for a promotional offer in the iOS app code (Objective-C), but I'm getting nil every time with the error: 'The operation couldn’t be completed. (OSStatus ...
0
votes
0
answers
38
views
How can I initiate a new URL request using an already loaded WKWebView?
I have opened a WKWebView with "https://www.google.com", for example. After that, I put my app in the background. When I try to open a new URL request in the same web view with a new link, ...
0
votes
0
answers
33
views
Build input file cannot be found and xcode is searching file at wrong path after pod install
i am getting this error after pod install in xcode
error: Build input file cannot be found: '/usr/lib/libstdc++.6.0.9.dylib'. Did you forget to declare this file as an output of a script phase or ...
0
votes
0
answers
15
views
microsoft.identitymode.tokens.audienceurivalidationfailedexception was thrown while trying to open One Drive document in WKWebView in iOS app
I am working in iOS app needs to be opened One Drive attachments in WKWebView.
Sample One Drive document is
https://\*\*\*.sharepoint.com/personal/\*\*\*\*\*\_onmicrosoft_com/\_layouts/15/Doc.aspx?...
0
votes
0
answers
40
views
How do I replace detail view controller navigation stack when presenting
I'm working with a UISplitViewController that's using some storyboards but now moving to programmatic presentation (which is what I'm familiar with). I have a VC that's currently presenting as a push, ...
0
votes
0
answers
52
views
SQLCipher "file is not a database" Error After Updating iOS App
I'm encountering an issue with SQLCipher in my iOS app after updating to a new version, which involves different workspaces of my app. The app uses SQLCipher(version: 3.1) to manage an encrypted ...