Questions tagged [iphone]

103260 questions
1

votes
0

answer
374

Views

React Native expo there was a prob loading this experience

When i run 'exp start' from command line. my react native app builds perfectly on simulator and on device. i also ran exp start --no-dev which i assumed was to show what would run with dev mode flag off when i run exp publish. When i run 'exp publish' i get There was a problem loading this experienc...
James Woods
1

votes
2

answer
62

Views

add/removeClass doesn`t work on iPhone

This works correctly on browser but doesn't work on iPhone. Also I used the var $event = ($ua.match(/(iPod|iPhone|iPad)/i)) ? 'touchstart' : 'click'; It also doesn`t work on iPhone HTML hello CSS .mod_section.active{ display:none; } .mod_section{ display:block; } JQuery function mod(){ $('.mod_secti...
Eric Lee
1

votes
0

answer
42

Views

SpriteKit game deployed from TestFlight may not display correct on iPhones

I’m having an issue with games I’ve been developing for iOS using SpriteKit The issue deals with when the games are deployed through TestFlight and installed on iPhone devices. On some phones the games will not display correctly. They will appear zoomed in from the center and be clipped at the e...
Tron Thomas
1

votes
0

answer
69

Views

IOS - Connecting to bluetooth device in background periodically

I have a bluetooth device which connects to my iphone and i can perform all sorts of operations on the device. Its a tracking device and I log all sensor based data in the device. Since the device have a data limit, I want to read data from the device once every hour and dump it into a file through...
Kpatel1989
1

votes
1

answer
47

Views

How do I create a borderbody in SceneKit?

I'm trying to create a 3D Kite game in SceneKit, and I do not want my nodes to leave the screen. I know how to create a border body in SpriteKit. How do I do the same in SceneKit?
Mit Sengupta
1

votes
1

answer
54

Views

how can I call back to previous application problematically in ios swift?

I have made a custom keyboard in which in which i made a call of openURL(), so that I can open the containing application to capture text through OCR. Then i have made a userdefault for the application group and stored the text into it, so that the keyboard extension can read it. But the problem her...
smaaz01
1

votes
2

answer
33

Views

Search Controller for words

I have followed below example code for search feature in my application https://www.raywenderlich.com/157864/uisearchcontroller-tutorial-getting-started Everything is working fine and searching is also working perfectly. but when I enter the words in different order/sequence it does not give me the...
Bindi Manek
1

votes
0

answer
65

Views

resume() does not work if playback was paused for some time in lockscreen

The AVPlayer notify AVPlayerItemFailedToPlayToEndTimeNotification when playing the stream . i use the below code and print the error details : NSError *error = notification.userInfo[AVPlayerItemFailedToPlayToEndTimeErrorKey]; NSLog(@'itemFailedToPlayMPMovieFinishReasonPlaybackError=%@' ,error); Err...
Prashanth Patil
1

votes
0

answer
30

Views

WP - External links not working on iPhones

I'm trying to help out a friend but haven't had much luck so far. She had a website for an event developed but only just noticed that all external links don't work on iPhones. I've been hoping to google the issue but haven't had any luck so far :/ They built the website on WP/Genesis theme. It's ju...
Jasmin
1

votes
0

answer
95

Views

Custom button in iOS 11 Number Pad Keyboard Not showing

In our company iPhone app, we are using Number Pad keyboard with a custom button hyphen '-'. Throughout the iOS versions, we had to modify the code as below. Until up to iOS 10, the code below worked fine, but we are having an issue in iOS11. when i tap on the textbox on screen #1, the keypad along...
Robbie H.
1

votes
1

answer
51

Views

Apple Watch Connectivity Status with iPhone

I am trying to get the connectivity status of the iPhone and the Apple Watch. I have tried using CoreBluetooth which didn't work. I think I am on the right track but I need a bit of help. My code is below :) AppDelegate.swift func application(_ application: UIApplication, didFinishLaunchingWithOptio...
theappledev
1

votes
1

answer
35

Views

Sending variable with watchConnectivity but can't get the picker in the watch app to update

I've been trying to send a variable to the watch from the iPhone. I've managed to send it with watchConnectivity but I can't get the picker in the watch app to update with the new variable I sent through. Here's the code for the watch app: import WatchKit import Foundation import WatchConnectivity v...
Paul B
1

votes
0

answer
97

Views

jQuery LightSlider in Safari (WLAN) iPhone & PC Browser

on our company website, we are encountering some problems, with a jquery Lightslider, this slider isn't loading on safari on iPhone, Mac, and windows, but only if connected to the wireless network. If we are connected to the mobile network there is no problem with the sliders, here is the error mess...
user3469017
1

votes
0

answer
66

Views

Bottom border line behind navigationBar dont show in iPhone X

I have this problem. I´m working with Xcode 9 and Swift 3. The navigation bar in navigation controller has Translucent check to true. But... In iPhone 7 simulator the border line behind navigation bar show perfectly but in iPhone X simulator, this line don't show. Anybody know how resolved it?
Yayo
1

votes
1

answer
215

Views

Hide a black fade when self.dismiss with CATransition

I want to make my viewController to dismiss to an old viewController with animation. But when I use CATransition my viewController and old viewController fades black. Is there any way I can make it not to fade? let transition = CATransition() transition.duration = 1.0 transition.type = kCATransition...
Dojyouge
1

votes
0

answer
34

Views

How should I approach dynamic layout in my app based on the information from my backend?

I am building an app which will receive data from my backend and provide dynamic layout in the app. Let me explain. Let's say I am building an image editing app which let's you place text, png stickers etc on the image. The app needs to have templates which can place the text, stickers etc on the im...
Pranoy C
1

votes
0

answer
181

Views

Python and Bluetooth

I am doing my best to learn Python by writing a script for my home automation setup. I want to monitor the presence of 4 Iphone's and as things are right now I want to avoid installing any app to handle this. (Yes, this is both impractical and not 100% accurate - but why go the easy route? :)) I hav...
pittbull74
1

votes
0

answer
105

Views

Apple Speech API - SFTranscriptionSegment's have same confidence value

I've noticed a strange behaviour using the Apple Speech Framework. After implementing in my own app and playing with the examples provided by Apple and online, I've noticed that the speech framework always returns the same confidence level for each transcription's segments following the results of a...
Elliott Minns
1

votes
2

answer
399

Views

application initializing document picker is missing the icloud entitlement

I am using 'react-native-document-picker' library and using iphone 6 simulator. I am getting an exception: 'Application initializing document picker is missing the iCloud entitlement', whenever I clicked on the button. how can I resolve this issue? please suggest me any solution. thanks in advance....
kalyani_jamunkar
1

votes
1

answer
64

Views

Why update is not showing for all user when app transfer to new app store account?

I have published apps to app store from an account & suppose my team was TeamA. So application identifier was abc123.com.companyname.appname. Now I have transferred the app to my new account. So now when i am going to launch an update i have encountered an error like below : 'WARNING ITMS-90076' Pot...
asif akbar
1

votes
0

answer
766

Views

Produce unhearably high-frequency sound on an iPhone

I'd like to produce some kind of very high-frequency sound on my iPhone/iPad devices, but how is it possible to produce ultrasonic sound with a specific frequency given in HZ? I found just some outdated information like Produce ultrasonic sound on an iOS device https://gist.github.com/hotpaw2/630a4...
Jonas0000
1

votes
1

answer
267

Views

Does Automating iphone with Appium Needs license

I am using Appium on MAC device to control or automate some iphone functionalities . lets say to trigger phone call or open camera or swipe ..etc The question is do i need a developer license ? given that i am not a developer , i just want to control the iphone. And if i need developer license , sho...
mohamed oufa
1

votes
1

answer
315

Views

visibilitychange in mobile safari standalone mode

The Visibility API doesn't work in standalone mode on iOS. I need to know if the phone was unlocked with my app in the foreground so that I can check for an update, but nothing seems to work. I don't get the visibilitychange event. document.hidden is false, and document.visibilityState is 'visi...
Jamie Aurand
1

votes
0

answer
238

Views

Player data archive not found at '/var/containers/Bundle/Application/…/GameName.app/Data/data.unity3d' When creating build of unity project in iOS

I'm trying to generate build of unity project for iOS. After switching my unity platform to iOS and click on build button, it generates Xcode project for iOS build. When I try to build my game in Xcode for generating build it shows error in log which is following -> applicationDidFinishLaunching() P...
Farhan
1

votes
1

answer
46

Views

special character like è,á are not converting their respective unicodes in Ios for other platform like android and app website

I am trying this. -(NSString *)convertEmojiIntoUnicode:(NSString *)emojiStr{ NSData *data = [emojiStr dataUsingEncoding:NSNonLossyASCIIStringEncoding]; NSString *goodValue = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; return goodValue; } For Decoding -(NSString *)convertUnico...
Khalid Moin
1

votes
1

answer
235

Views

How to make UIPageControl overlap home indicator at the bottom of the screen

When I add a UIPageControl to UIPageViewController, the constraint bottom of UIPageViewController not working, and UIPagecontrol was pushed into safe area. Image: and How to make UIPageControl overlap home indicator at the bottom of the screen . Apple Human Interface Guidelines My code to add UIPag...
Wind
1

votes
0

answer
128

Views

Xcode 9 error After installing Realm in react native for local storage

Xcode 9 error after installing Realm in React-Native for local storage. can't exec 'myPath/Source/node_modules/realm/src/../scripts/ccache-clang.sh' (Permission denied), failed with exit code 71. Help me to resolve this error. Thanks
manoj
1

votes
0

answer
87

Views

How to find the pixel size of the camera of an iOS device

I am writing an application which needs to know the angular dimensions of the pixels of an iOS camera imaging a scene with image plane at virtual infinity. In order to do this I need to know the focal length of the camera and the size of a camera pixel. I would also like this application to run on...
T. Barrett
1

votes
0

answer
1.7k

Views

Permissions to save file in the Documents folder on iOS

I have an issue with saving/replacing image files to the Documents folder in my app. In the AppDelegate I have a two properties: let documentsDirectory: URL = { return FileManager().urls(for: .documentDirectory, in: .userDomainMask).first! }() let defaultDirectory: URL = { return Bundle.main.bundle...
Alexey Malashin
1

votes
0

answer
27

Views

Xcode 9.2 stucks on adding accounts after update of High Sierra

After updating to High Sierra, I am unable to add accounts to xcode. It stucks on add accounts and keeps on loading to infinity.I have two versions of xcode i;e, 8.3.3 and 9.2 and both are having same problem.
Tabish Sohail
1

votes
0

answer
52

Views

How to know google SDK version ios?

Google has changed policy under which the ads will not display in SDK under version 7.0 any more. How to get SDK version of google admob?
Kevin Maru
1

votes
1

answer
1.1k

Views

How to fix UILabel intrinsicContentSize on iOS 11

On iOS 11 many of our layouts are breaking due to labels apparently misreporting their intrinsicContentSize. The bug seems to manifest worst when a UILabel is wrapped in another view that attempts to implement intrinsicContentSize itself. Like so (simplified & contrived example): class LabelView: UI...
Sam
1

votes
2

answer
145

Views

Proportional height value is taken from the xib file not from the device

It's the first time that I face this stranger problem. I have an UIViewController that I create with it's XIB file. The screen has two views viewA and viewB. The viewA has those values top = 0, leading = 0, trailing = 0. The viewA.height = safeArea.height/2. The viewB constraints are top = 0, leadin...
Ne AS
1

votes
0

answer
104

Views

Presenting a specific view controller messes up the app on device (works on simulator)

I'm facing a very weird bug. I have a button and I'm pushing a view controller normally, using segues. However, when I push the view controller the whole app layout messes up: it sometimes works, sometimes glitches such as leaving me with a blank view with nothing but the tabbar, or previous view co...
Can Poyrazoğlu
1

votes
1

answer
85

Views

EVReflection.setDateFormatter() supporting multiple formats

I have encountered a problem with deserialization of my DateTime strings from JSON in swift. I have entity containing multiple NSDate values (which are received from .NET WebAPI server). My problem is that some of JSON properties contain date strings formatted like this: 'yyyy-MM-ddTHH:mm:ss' and so...
TipsyFingers
1

votes
2

answer
332

Views

How to use NSFetchedResultsController to update tableview content

I am updating certain parts of coredata and I want the NSFetchedResultsController to automatically reload the tableview with all the animations. I am changing a coredata element that is used to sort tableview. I am doing this by swiping to the right on the cell and then changing that particular tabl...
Osama Naeem
1

votes
0

answer
134

Views

App not starting from killed state using silent notification

I want to update user location to server when silent notification is received. I had enabled push notification and background mode as remote notification and location. But my -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler...
Manish Malviya
1

votes
0

answer
160

Views

Iframe is not scrolling on iPhone 7

I have an embed on a page. But when I open it on iPhone 7(Safari), it doesn't scroll. If I change the screen orientation from portrait to landscape, the scrolling works. After that if I change the screen orientation to portrait, the scrolling will work. I also tested on iPhone 6s(Safari), it works w...
Deepak P C
1

votes
0

answer
165

Views

Add private framework to theos project without xcode

I am working on an application which can help the user to kill all background processes. I have tried to use the private framework Blackboard services to use this code: BKSTerminateApplicationForReasonAndReportWithDescription(@'com.apple.mobilesafari', 5, 1, @'Kill safari'); But when i make my proj...
duong khang
1

votes
0

answer
125

Views

Wrong UIColor in CAGradientLayer

I'm having some problems to apply a CAGradientLayer to my view. One of the color that I need is that: So I wrote this code for the gradient: let gradient = CAGradientLayer() gradient.frame = self.button.bounds gradient.colors = [UIColor.init(red: 238/255, green: 34/255, blue: 84/255, alpha: 1).cgCol...
Simone Sella

View additional questions