Questions tagged [ios]

iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.

0
votes
0answers
3 views

flutter debug on ios simulator not working

crash when build ios,here is logs: Xcode build done. 7.1s [VERBOSE-2:shell.cc(178)] Dart Error: Can't load Kernel binary: Invalid kernel binary format ...
0
votes
2answers
22 views

How to find View Controller height programmatically?

I have a simple question, how do I find the height of the View Controller programmatically when I have it set to freeform? I want to do something like: let viewControllerHeight = viewController....
0
votes
0answers
11 views

Swift unwind modal

I'm working on an app where I have an error page displayed incase there is a network problem. The app has several storyboards, and this can happen anywhere. func displayErrorPage(errorCode: ...
-1
votes
0answers
18 views

Framework to draw dependency graph in iOS swift

I need to draw graph which represent structural information Thanks in advance
0
votes
0answers
11 views

Why does constraining a SKCamera to a SKSpriteNode not work?

I want to have the camera of the scene constrained to the player. The following code doesn't work. The camera just stands still when the player moves: let mainCamera = SKCameraNode() let range = ...
0
votes
0answers
11 views

Cannot build ios

I'm trying to build ios with this command : ionic cordova build ios yet it renders me this error : An error occurred while running subprocess ng I'm using ionic 4 Any clues please!
0
votes
0answers
10 views

Google Signin crash when i assign clientid

When I called this method. GIDSignIn.sharedInstance().clientID ="myclientid" my app is crashed. error is below : * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[...
0
votes
0answers
12 views

Changing Animation's duration with jQuery's `elem.css` not working on iOS

I'm trying to make a web service that make musicians to keep the tempo by watch the device changing it's display's color. Here's the Code. and Service. click anywhere to show/hide header. you can ...
0
votes
0answers
8 views

Pass AppDelegete Variable to Index.js When App is Loading

I have implemented URL schemes on iOS Cordova Project. I'm able to get url query with this function in AppDelegete.m: - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(...
0
votes
2answers
36 views

How to push to view in tabbar with some data in a variable?

I have an tabbar which includes: TabBar - HomeView -> UserProfileView -> Gallery - LeaderBoardView - SettingView - ........ Here, from homeview, user can go to ...
1
vote
1answer
38 views

How to detect if user STOPPED shaking the phone in Swift

I want to know when the user stopped shaking and when he does, I would like to dismiss the alertViewController. Any help will be appreciated. Thanks. I've tried both using methods motionEnded and ...
0
votes
0answers
7 views

SFSpeechRecognizer multiple languages

I am building a search that supports voice recognition and transforms speech to text so I am using SFSpeechRecognizer. But the problem is that I need to support multiple languages at the same time ...
0
votes
0answers
16 views

Custom font in Storyboard not showing in running app

I have used Source Sans Pro in the storyboard to few UILabel and Font files are added to the target. When the app runs in the simulator, Source Sans Pro font is showing on some of the labels while ...
-1
votes
3answers
46 views

I want to give a extension method that return font of Int, It's right?

Can I give a Int method that generate UIFont? extension Int { var font: UIFont { return UIFont.fitMediumFont(size: CGFloat(self)) } } use it: label.font = 16.font My partner don't ...
-2
votes
0answers
34 views

Blue circle appeared When touching the screen in Swift [on hold]

Blue circle appeared When touching the screen in Swift I deleted and reinstalled my app but it is still there Is this a problem with xcode? or code?? How to fix it? image of blue dot/circle
0
votes
0answers
8 views

appcelerator titanium whatsapp share “image connat be shared text sharing is working

Appcelerator titanium whatsapp share “image connat be shared text sharing is working if (require('main').Social.isActivityViewSupported()) {// iOS6 and later require('main').Social....
0
votes
0answers
14 views

Want handle INIntent's response in AppDelegate

I'm using custom intent which handle audio control in my app, intent handling has dependency to application, so i need background execution. I checked support background execution in intentDefinition. ...
0
votes
0answers
25 views

Dark mode issue in iOS

I'm developing an app in which i have a switch button in setting , when switch is On i change whole application view to dark mode and when Off it comes to its original view.Now when i turn app to dark ...
0
votes
0answers
36 views

Render HTML content inside a <p> tag without changing any code, only able to change the content

For a few business reasons, it is very difficult to push a new version of an ionic app out to users. We are migrating and at some point will need to message users who have no updated the old app. We ...
1
vote
0answers
28 views

Renaming a file in Swift only by changing case gives an error: No such file or directory

I want to rename a file with Swift to the same filename, just with different casing (you can try it in an ios playground): filename ="NameWithCase" newFilename ="Namewithcase" var url = URL(...
1
vote
0answers
20 views

UIImageView tintColor not changing using storyboard

I have the rendering more of the image in AssetCatalog as Template : I have then changed the tintColor for UIImageView which is using this image : But when I run the app, the color of ...
0
votes
0answers
16 views

How to change BPM value of Spotify Song Swift

I am trying to build an application that plays Spotify songs. I am really confused how to change BPM(Beats Per Minute,) value of Spotify songs. First Step: Login through Spotify. Second Step: Get ...
0
votes
0answers
12 views

React Native, storing images in users gallery without compression

I am developing an App that verifies images based on their hash. I hash the images using this library "react-native-fetch-blob". I store all the images taken inside the app, I am trying to allow ...
0
votes
4answers
35 views

Alamofire parse JSON msg and status

I want to display the msg on UITextView using the status, but it display "Success: 200": { "status" : 500, "msg" : "\"Information is invalid\"" } I'm using Swift4 in XCode10, here is my code: ...
1
vote
0answers
13 views

How to handle local push notification in apple watch when paired device is locked?

I am using local notifications for iPhone with UNNotificationAction. Push notifications are received on iPhone and apple watch and overall it works fine. but when the paired device (iPhone) is locked,...
0
votes
0answers
16 views

Test Cell in a UITableViewCell XCTest

I'm testing a UITableView where the view controller is class ViewController: UIViewController { @IBOutlet weak var tableView: UITableView! override func viewDidLoad() { super....
0
votes
1answer
20 views

UITableView with searcher and selecting the UITableViewcell both in initial loading of cell and after search of tableview?

I am having a tableview that's used for both the search result and whole list. I am using a imageView in the tableviewcell that will change to tick mark when clicked. I have completed click function ...
0
votes
0answers
21 views

photos framework photo select question in ios

Selecting (Photos) in the iOS Photos app will change the outline and transparency of your photos. You can delete or share your selected photos. Is there a way in Photos Framework that allows photos to ...
0
votes
1answer
21 views

How to get target's version by Ruby (or Xcodeproj)

How to get target's version(The version of you APP) in Ruby or Xcodeproj? I have tried sdk_version in AbstractTarget with Xcodeproj, But it returns nil. If Xcodeproj doesn't support it. How to get ...
0
votes
0answers
8 views

Integrating Twilio with share extension iOS

We are building a chat app with a share extension. Initialising twilio chat client works fine with main app. But initialising twilio chat client within share extension crashes the app with the ...
0
votes
3answers
43 views

Setting picked image from UIImagePicker to UIImageView in Swift

I'm trying to create code so that a user can set an image from their Library or from their Camera Roll and have it set to a ImageView on the screen. I tried adding this function, however it doesn't ...
0
votes
2answers
38 views

UITextView continually searching for keywords in a database

I want to check if the user types specific phrases in a UITextView for a science app. My phrases are formatted like this: Word + (number) + . + (anotherNumber) Example: “Gold 3.6” or “Phosphorus 2.54”....
0
votes
1answer
27 views

Retrieving specific data from Firebase realtime database in swift 5.0

I'm not good in firebase, but I'm making one project regrading chat app. i have created one not node GroupChat inside that i create group with including members. now i want to check that if userid is ...
-2
votes
1answer
24 views

What does the { get } mean with UINavigationController? [duplicate]

var moreNavigationController: UINavigationController { get } What does the {get} mean in the above? This is for iOS (in this example this is for Swift). I understand that var is to define a variable; ...
0
votes
0answers
9 views

Implication of calling mixed content on Mobile App

I have a mobile app and using HTTPS for all calls which is good. I am also calling CDN images with HTTPS. I am thinking to switch to calling CDN image with HTTP to save because it's less processing ...
0
votes
0answers
16 views

Changing width of UIStackView with user gesture

I have some views that I have arranged such that the UIView is having full width to screen and are having constraint of Leading,Trailing,top,bottom attached to super view. with this I have A stack ...
0
votes
1answer
19 views

How to perform CoreData model migration *only* to add constraint(s)

I have a rather big CoreData database with plenty of duplicates and I need to add constraints to avoid duplicates in the future. Consequently, I need to migrate the existing model to a model with ...
0
votes
0answers
22 views

WebSocket event handling in background

In background WebSocket not receiving messages. I want to receive message and send acknoledgement even if app is in background. I enabled voice over ip in background modes.
0
votes
0answers
28 views

Cannot get images from separate pod iOS

Created a separate pod and as a stand alone project it's working fine. But when I use it in a separate project as a pod the images not showing. Debug the project and image was nil. let image = ...
0
votes
1answer
20 views

Designable build failed: Could not attach to pid : “26000”

I can't figure out a problem with a view that I have created (xib + swift file) with setup, init and prepareForInterfaceBuilder func. I try to show it in a scene with @IBDesignable. When I try these ...
0
votes
0answers
16 views

Share Images and text using whatsapp in react native

I'm using react native 0.59 to develop my application. I've tried both "Share" functions from react native core library and react-native-share. But the problem is sharing text and base64 image with ...
0
votes
1answer
13 views

How can I get results for global locations, but also suggest local locations within the same search?

Im setting up a search bar, and would like the user to see a list of local locations, and then if not satisified by the initial list be able to perform an additional search with a global parameter. ...
0
votes
1answer
15 views

“The file “command.cgi” couldn’t be opened.”

FlashAir W-04 Fourth Generation SD memory card In my iOS app directory listing api not working. Response : Task .<0> HTTP load failed (error code: -1003 [12:8]) 2019-05-21 23:32:40.267572+0530 ...
0
votes
6answers
49 views

Conditional question with two conditions in SWIFT

I am not sure how to write a conditional statement with two conditions but a concise one. I did well to the conditional statement with one condition, but after that, I could not execute the second ...
0
votes
0answers
14 views

Trigger UIPanGestureRecognizer before a child UIScrollView

I have the following view hierarchy: A parent view, containing a UIPanGestureRecognizer and two sibling views: a UIScrollView and a UIView. The latter UIView could be created by long-pressing on the ...
0
votes
0answers
15 views

FCM multiple device token handling

I've a C# server application which sends notification to ios/ android devices on user actions. Currently it handles only 1 device token / user. Device tokens are saved in the database and gets ...
0
votes
0answers
17 views

React Native iOS release build crashing on some devices

I have a React Native app that is on TestFlight, it opens for some users but other users it crashes when trying to open. Even identical devices, one launches successfully and on the other the app ...
1
vote
0answers
10 views

Is “slicing” a video attached to iOS app assets possible?

With PNG images, one can attach img.png, img@2x.png, and img@3x.png via assets and then load the correct one at runtime based on the device screen dimensions. In addition, the iTunes upload/download ...
0
votes
0answers
10 views

MVP presenter data change and UITableView update race condition

When UITableView loads it asks presenter to load data. Presenter attempts to get data from Model which loads data from local db (sets its data array object), returns data to Presenter. Presenter ...
0
votes
0answers
8 views

“AppleARMPMUCharger” no longer exports Battery Information/Diagnostics when run via idevicediagnostics.exe prior to iOS 12

Up until iOS 11, i've been using the idevice** binaries to extract information from iPhones ranging from models 6 to X via idevicediagnostics.exe on Windows OS via idevicediagnostics ioreg ...

http://mssss.yulina-kosm.ru