Questions tagged [iphone]
DO NOT use this tag unless you are addressing Apple's iPhone and/or iPod touch specifically. For questions not dependent on hardware, use the tag [ios]. More tags to consider are [xcode] (but only if the question is about the IDE itself), [swift], [objective-c] or [cocoa-touch] (but not [cocoa]). Please refrain from questions regarding the iTunes App Store or about iTunes Connect. If using C#, tag with [mono].
iphone
220,755
questions
147
votes
11
answers
100k
views
Reducing the space between sections of the UITableView
Is there a way to reduce the space between two sections of a UITableView? There are about 15 pixels between every single section I have. I did already try to return 0 for -tableView:...
14
votes
12
answers
28k
views
Ionic ion-view header behind ios status bar
How do I avoid ionic header from getting behind ios status bar like this?
I created the header with following code:
<ion-view title="{{title}}" hide-nav-bar="false">
25
votes
4
answers
18k
views
Total RAM size of an iOS device
Is it possible to determine actual RAM size of an iOS device?
Referring to this question Determining the available amount of RAM on an iOS device we can determine the available free memory but how to ...
7
votes
1
answer
14k
views
How to set up proxy for ios simulator?
As topic.
I run an app in my macbook pro iOS simulator, and I wanner config my app's requests through my http middleware.
so, How to set up iOS simulator http proxy?
I open my System Preferences, and ...
0
votes
0
answers
5
views
my website crash on safari The site sometimes crashes and I can't recover the crash
hello everyone i have an issue with safari/iphones that sometimes my website crash
the eroror is "a problem repeatedly occurred"
unfortunately it doesnt always happened on the same iphone ...
-3
votes
0
answers
17
views
Postal Framework crash in iPhone but runs successfully in simulator [closed]
I have integrated the Postal framework in my sample iOS application for IMAP functionality. NOTE no other functionality just a iOS app and Framework added in it and using only one method and it's ...
2
votes
2
answers
10k
views
How to add a library project in xcode?
How do I add a third party library project to my Xcode project so that the third party Library header files are accessible to the rest of the file in the main project.
I tried drag and drop; Added ...
15
votes
4
answers
13k
views
How to subclass UIApplication?
The iPhone Reference Libary - UIApplication says I can subclass UIApplication, but if I try this I will get an exception:
*** Terminating app due to uncaught exception '...
-1
votes
0
answers
24
views
Xcode 15 building failure when using iphone 15 as simulator, using ios 17 [closed]
i have build my ios app using xcode 14 and ios 16.0.1, but some users report that app crashed on iphone 15 pro max, i assumed that it a version mismatch, i installed the last update available in app ...
1
vote
0
answers
44
views
iOS, iPhone, Bluetooth discovery during call
I am experiencing issues while trying to connect iOS app with a BLE device, during a call.
While not on a call the connection works fine and the phone and the BLE board connect instantaneously, ...
0
votes
0
answers
14
views
Images uploaded via Active Storage not displaying in Active Admin or on certain devices
I'm encountering an issue where images uploaded via Active Storage in my Rails application are not displaying properly in Active Admin or on certain devices. Specifically, images uploaded via Active ...
0
votes
0
answers
7
views
Any problem with creating provisioning profile with old Iphone?
I have quite an old IPhone available (first edition SE) that I want to use to make a provisioning profile together with a Mac computer.
Will there be an issue using such an old IPhone for this purpose?...
5
votes
4
answers
2k
views
Choosing suitable camera for barcode scanning when using AVCaptureDeviceTypeBuiltInTripleCamera
I've had some barcode scanning code in my iOS app for many years now. Recently, users have begun complaining that it doesn't work with an iPhone 13 Pro.
During investigation, it seemed that I should ...
6
votes
5
answers
32k
views
Invalid 'Podfile' file syntax error, unexpected $undefined, expecting '}'
I am trying to install a pod in project. But i am getting this error:
Invalid 'Podfile' file syntax error, unexpected $undefined, expecting
'}'.
Podfile contains:
platform :ios, '7.0' pod '...
0
votes
0
answers
35
views
Access the list of SIM mobile numbers installed in the iPhone
Can I get list of all sim installed in my iPhone including eSim
and get its number ?
I have requirement in which I need at the time of registration , at user mobile number, user installed sim numbers ...
1
vote
2
answers
22
views
Keyboard not appearing when connecting smart card reader to iPhones with type-c port. i.e. iPhone 15/ 15 pro
Description:
I'm facing an issue where the keyboard does not appear on my iPhone 15/15 Pro when I connect a smart card reader via Type-C. This issue occurs across all applications and is not specific ...
-1
votes
0
answers
11
views
Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
When I run my app on iPhone layout size is fine, texts and everything looks good but when I run the app on iPad text with everything gets really small.
I tried GeometryReader, and custom font options. ...
4
votes
1
answer
231
views
How to set pure red pixel full screen on iPhone OLED
I am studying the pixel arrangement of the iPhone OLED screen.
I use the code:
for (int i = 0; i < height; i++)
{
for (int j = 0; j < width; j++)
{
data[(i*width + j)*4] = (Byte)...
9
votes
4
answers
6k
views
How do I open a user's Twitter profile using the Twitter app using a link in Mobile Safari?
It looks like Twitter registers the URI scheme of twitter://, but after playing around with it I can't get it to directly open a user's profile. I've tried:
twitter://username
twitter://user/username
...
118
votes
17
answers
144k
views
How to calculate the width of a text string of a specific font and font-size?
I have a UILabel that displays some chars. Like "x", "y" or "rpm". How can I calculate the width of the text in the label (it does not ues the whole available space)? This is for automatic layouting, ...
207
votes
55
answers
66k
views
Xcode 4 hangs at "Attaching to (app name)"
I just upgraded to Xcode 4 and for some reason my app won't run in the simulator or iOS device. It was working perfectly in Xcode 3, but all of a sudden now when I press run the program stops at "...
-1
votes
1
answer
8
views
Notes (or any App) on Macbook is not synching with iPhone notes [closed]
My Macbook and my iPhone USED to synch notes nicely, such that updating one updated the other. All of a sudden, with no OS updates, the synching stopped. I checked:
System Preferences > My Name (...
69
votes
15
answers
63k
views
How to convert UIColor to HEX and display in NSLog
I have checked several links on how to convert UIColor codes to HEX however I am not sure on how to call to the method to display them in NSLog. I haven't got the reputation to comment so posting as ...
-6
votes
0
answers
30
views
What language + IDE should I use for flutter as someone new to app development? [closed]
I just recently got into app development and currently, I know java and cpp fairly well. I'm willing to learn JavaScript if that is needed to make apps. However, many people who use Flutter use Dart ...
-2
votes
0
answers
23
views
Multiple reviews at App Store with one Apple ID [closed]
can anyone show me a way to submit multiple reviews at App Store ?
Multiple reviews at App Store with one Apple ID seems to be difficult
make apple IDs and submit reviews seems to be the answer but ...
2
votes
0
answers
21
views
Can we produce haptics and record from microphone the haptic sound at the same time on iOS?
I am trying to make a vibration test which produces vibration for 3 sec and tries to record the vibration, the goal is to analyze frequency of vibration so that we can check if vibration is working on ...
0
votes
1
answer
29
views
Amazon s3 video is not played on Iphone
I am having a react website where on the home page I have used the Video tag to play the video. On android browser the video is getting played but on Iphone browser the video is not getting played and ...
5
votes
3
answers
6k
views
Unable to request permission to access the IOS Calendar in Swift 4.2
I have tried the earlier examples of asking permission to add items to the IOS calendar. They do not work with Xcode 10.1 (Swift 4.2). When I try to compile the code, I get an error. If I comment ...
64
votes
5
answers
91k
views
An error has occurred. Unable to import an item. The contents of this item cannot be retrieved. Missing .pem file
I am struck with a problem. I installed the p12 certificates once into a MacBookPro and then deleted it, now when I am again trying to install it. Keychain is simply not accepting the certificate for ...
-2
votes
1
answer
2k
views
non lazy ptr linking error - the solution
I have received many errors while trying to Build & Run my iphone app using the xcode.
All the errors stated "non lazy ptr" for the used variables in the code.
The solution for me (and for all of ...
4
votes
4
answers
9k
views
How to make dynamically adding of rows when user reached to the last row of the UITableView?
I have a UITableview which shows 10 rows currently which is fixed static. Now I want to add a feature into it. I want to add a more 10 rows to the table when user reach to the last row of the ...
4
votes
1
answer
9k
views
addTarget not working for UIButton created in Swift
So, I've created a UIButton using Swift, and I animate it and it's superview using the following code:
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup ...
2
votes
2
answers
1k
views
Finger drag on your buttons [duplicate]
Assume that a five buttons side by side, I need to know how to make them accept (called) the drag from outside to inside the border of each button.
i.e. Like the piano if you drag your finger every ...
1
vote
5
answers
985
views
Why extensive use of png images in iPhone development?
Is it true that we have to use png images for development in iPhone and iPad. What is the advantage we would gain when using png images?
-1
votes
0
answers
25
views
SwiftUI's localized string do not load from main bundle despite using the main bundle identifier (an xcode bug?)
I have an iOS app that uses a Framework I've created. The framework contains several SwiftUI views that display text on the screen that needs to be translated to several languages.
I've added a ...
-1
votes
0
answers
8
views
Cordova iOS only app upload through transport requires WKWatchKitApp
we have an old cordova/phonegap app that we are trying to upload through Transporter, but suddenly we started getting the following error:
"Missing Info.plist value. A value for the key “...
-1
votes
0
answers
19
views
build getting failed for ios xcode build -flutter app
Native assets file /Users/yashwanthkalimi/Desktop/CMP/craft_my_plate_client/.dart_tool/flutter_build/55f73a0f456c61786ce839bc0c36796b/native_assets.yaml doesn't exist.
I have done flutter clean , ...
-1
votes
0
answers
12
views
"Error when Importing 'mysdk' into iOS Demo App: dyld Library not loaded: @rpath/MQTTClient.framework/MQTTClient"
When integrating "mysdk" into an iOS demo application and utilizing a third-party library, encountering an error where the MQTTClient.framework fails to load. Despite "mysdk" ...
0
votes
0
answers
30
views
Increase SearchBar TextField height in Xamarin Native iOS
I am having an app in which I want to increase my searchbar height.
I know it's a small thing with lots of ideas here but none of them seems to work for me in Xamarin Native iOS.
I am able to increase ...
19
votes
5
answers
25k
views
How to align baselines of text in UILabels with different font sizes on iOS?
I need to align the baselines of text in UILabels. What I'm currently doing is I'm aligning the baselines of UILabels containing the text, and when the text font size in two labels is different, this ...
-1
votes
0
answers
15
views
Does iOS 17 include an API akin to the Android Context Hub Runtime Environment, capable of executing system applications on low-power processors?
Does iOS 17 include an API akin to the Android Context Hub Runtime Environment, capable of executing system applications on low-power processors?
I sought to expand my knowledge, so I began studying ...
-2
votes
0
answers
25
views
show bottom sheet in Swift UIKit [closed]
I want to show bottom sheet option same like WhatsApp.
Is this possible with action sheet?
1
vote
0
answers
243
views
Capturing depth using the lidar camera sample code: Caused GPU Timeout Error (00000002:kIOGPUCommandBufferCallbackErrorTimeout)
I am hoping someone here may be able to help me with an issue I have got.
After downloading the project code and running the Swift sample code on an iPhone 14 Pro, the app crashes intermittently, ...
-1
votes
0
answers
28
views
idfv changed after ipa resign (not change bundle id)
I re-signed the ipa using fastlane, without changing the signature, just turning off some plist features,only change UIFileSharingEnabled to false
After publishing to testflight, that idfv has changed ...
18
votes
8
answers
77k
views
iOS9 Developer Trust App No Internet Connection Error
I am using Xcode 7 and iOS 9. I'm having trouble in launching my app on my device using the new feature that Xcode 7 has, that allows us to try applications without having an Apple Developer Program
...
5
votes
3
answers
4k
views
Reverse Engineering? [closed]
I have *.ipa file which is the iphone application.
Is that possible to use reverse engineering in that ipa and extract
code..?
-1
votes
0
answers
18
views
WebRTC ICE fails for IOS Browsers
I am currently developing a WebRTC web app using flutter_webrtc. The app works fine; the WebRTC connects, and the frames are sent to the server if I query the web app using browsers, either Chrome or ...
0
votes
1
answer
347
views
NSXMLParser stops right after it starts
Im practicing RESTKit, and so I'm building a Dribbble client to get the hang of REST, i get the XML response successfully, but when i use NSXMLParser to parse it, it logs start, then stop immediately ...
21
votes
8
answers
24k
views
How to copy the iPhone UDID on macOS Catalina?
How to copy UDID of the iPhone?
I want to register my iPhone as a tester within the Apple store account.
So followed the steps as per the above image.
But there is no way exist to copy the UDID and ...
0
votes
0
answers
12
views
Is it possible to use Apple's ARKit to measure the length and width of an individual's foot to estimate shoe size?
Disclaimer: I'm a product designer, so I'm not too technically literate in terms of AR.
Is there a way to use the iPhone's camera to measure the length and width of an individual's foot to estimate ...