Questions tagged [ios10.3]

121 questions
0
votes
2 answers

Linker error when passing data from Swift to Objective C

I am using FXForm Library and want to get data from my Swift file in Objective C file function. Demo Project Link Swift Code Implimnetation: let fontName = "HelveticaNeue" let fontSizeLarge:CGFloat = 14.0 var hiddenElementFromFormIndex =…
0
votes
1 answer

How do I get 'next batch' of users using MSGraphSDK in Swift 3

I'm using MSGraphSDK to get all users using the Microsoft Graph - but I can only get the first batch of users (default batch size is 100). I am able to get the first batch as shown below, but I can't see how the framework supports getting the next…
Kim Rasmussen
  • 453
  • 1
  • 8
  • 21
0
votes
1 answer

Local Notification and make changes to archive

I am currently learning local notification, but i have a few problems in my test project. import UIKit import UserNotifications import Alamofire import SwiftyJSON @UIApplicationMain class AppDelegate: UIResponder,…
Wizzard
  • 1
  • 2
0
votes
1 answer

Unable to show video in camera roll after trimming

I'm developing video player in which I have trimming functionality. I am using ABVideoRangeSlider for that. Whenever I try to trim and save video I'm getting Error Domain=NSCocoaErrorDomain Code=-1 "(null)" this error. Here is my code snippet …
pravin nagargoje
  • 70
  • 1
  • 1
  • 9
0
votes
0 answers

How to find the cause of a 100% CPU usage on an iPhone App when i use ionic2

when I click button quickly, which cause iPhone5 higher cpu usage? why it happened? code following:
{{tempstrng}}
public change (){ this.tempstring +='0'; }
tao wang
  • 93
  • 10
0
votes
1 answer

Unresolved Identifier error within @IBAction func

I am writing a basic iOS app to test my Swift knowledge and keep on practicing. In my app the user types a name for a baby, then turns a switch either on or off to set the gender/sex and also change the system color. After that, the name is used to…
Junsan
  • 1
  • 2
0
votes
1 answer

iOS iTunes FileSharing doesn't work

I'm trying to save mp3 ringtone files using iTunes FileSharing but it doesn't work. All mp3 files are stored under supporting files. NSString *fileName = @"demo.mp3"; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,…
moDev
  • 5,248
  • 4
  • 33
  • 63
0
votes
0 answers

WooCommerce bug iPhone 7 plus iOS 10.3.*

I am developing a website (WordPress + WooCommerce). When I tested the website on mobile (iPhone7+ with iOS 10.3), I found two bugs. custom loading symbol can't work (use svg with animation). when add a item into cart. It show 2 items and can't…
0
votes
1 answer

UIApplicationMain method crashing in iOS 10

My application is somehow crashing on UIApplicationMain method for iOS 10.3.1 devices. It indicates a SIGSEGV: SEGV_ACCERR crash. This is what I`ve got of logging data so far: 0 libobjc.A.dylib 0x00000001943afbd0 objc_msgSend + 12 1 …
Machado
  • 14,105
  • 13
  • 56
  • 97
0
votes
1 answer

iOS : Homekit - How to detect Bluetooth & WiFi service enable in device or not?

Home application show the below alert when we are trying to add accessory. I have also used the HomeKit framwork in my application and want to show the alert when user try to add accessory. What kind of changes i need to do to show the same alert…
iDev
  • 531
  • 1
  • 5
  • 15
0
votes
0 answers

Passing data from vc1 to vc2 programmatically using present or push?

This is my code in VC1 I have this var user = User() in VC1 that has all the data. func handleMessageView() { let layout = UICollectionViewFlowLayout() let messageViewController = MessageViewController(collectionViewLayout:…
CRey
  • 1,150
  • 2
  • 9
  • 21
0
votes
1 answer

Can't get Cell Swipe Actions to work

It's been awhile since I've made a fool of myself here, so here goes again as I'm still trying to learn and feel as though I'm chasing my tail on this project. With that said, ultimately I would like to get Jerkoch's SwipeCellKit to work, but not…
0
votes
1 answer

How To Get Account Name From Contact Framework

We know that contacts in iOS can be synced from Google, iCloud and Phone. Well, we can fetch a bunch of Contacts using Contacts.framework, but I want to know which account it belongs to. I mean, I need to differentiate Email and Phone synced…
Hardip Kalola
  • 196
  • 1
  • 4
0
votes
0 answers

iOS Swift CLLocationManager startMonitoringSignificantLocationChanges stop working on reboot phone sometimes

I'm using CLLocationManager to get the coordinates from user, I need to get the location all the time (Uber driver style) in background and when the device is rebooted. I'm using allowsBackgroundLocationUpdates= true and…
JPinios
  • 463
  • 1
  • 5
  • 10
0
votes
1 answer

Xcode 8.3.2 Crashes when switching devices

When I switch from generic device to my iphone, xcode unexpectedly quits. I've tried opening other projects (older and newer) and I get the same error. I did not have this error at all before updating to 8.3.2 Stack Trace: Application Specific…
1 2 3
8 9