<?xml version="1.0" encoding="utf-8" standalone="no"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Active questions tagged iphone - Stack Overflow</title><description>most recent 30 from stackoverflow.com</description><managingEditor>noemail@noemail.org (fish potato)</managingEditor><pubDate>Thu, 23 Jul 2026 15:49:19 GMT</pubDate><creativeCommons:license xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">https://creativecommons.org/licenses/by-sa/4.0/rdf</creativeCommons:license><link>https://stackoverflow.com/questions/tagged?tagnames=iphone&amp;sort=active</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>most recent 30 from stackoverflow.com</itunes:subtitle><itunes:owner><itunes:email>noemail@noemail.org</itunes:email></itunes:owner><item><title>Check whether or not the current thread is the main thread</title><link>https://stackoverflow.com/questions/3546539/check-whether-or-not-the-current-thread-is-the-main-thread</link><category>objective-c</category><category>iphone</category><category>multithreading</category><category>cocoa</category><category>xamarin.ios</category><author>noemail@noemail.org (fish potato)</author><pubDate>Mon, 23 Aug 2010 10:07:53 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/3546539</guid><description>
            &lt;p&gt;Is there any way to check whether or not the current thread is the main thread in Objective-C?&lt;/p&gt;

&lt;p&gt;I want to do something like this.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;  - (void)someMethod
  {
    if (IS_THIS_MAIN_THREAD?) {
      NSLog(@"ok. this is main thread.");
    } else {
      NSLog(@"don't call this method from other thread!");
    }
  }
&lt;/code&gt;&lt;/pre&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">127</re:rank></item><item><title>Testing Android Studio app on iPhone</title><link>https://stackoverflow.com/questions/34749837/testing-android-studio-app-on-iphone</link><category>android</category><category>ios</category><category>iphone</category><category>android-studio</category><author>noemail@noemail.org (Piotr Zięba)</author><pubDate>Tue, 12 Jan 2016 17:13:29 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/34749837</guid><description>
            &lt;p&gt;I would like to develop Android app with Android Studio, but the only device I have for now is an iPhone (5 and 6).&lt;/p&gt;

&lt;p&gt;Is there a way to have a live-preview of an app on iOS? For installing Android OS on iPhone I've seen solutions like iDroid, but they seem to be not supported and not exactly working in this kind of way.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>"The dimensions of one or more screenshots are wrong." when uploading screenshots to iTunes Connect</title><link>https://stackoverflow.com/questions/32194033/the-dimensions-of-one-or-more-screenshots-are-wrong-when-uploading-screenshot</link><category>ios</category><category>iphone</category><category>app-store-connect</category><category>screenshot</category><author>noemail@noemail.org (SentientBacon)</author><pubDate>Tue, 25 Aug 2015 01:08:29 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/32194033</guid><description>
            &lt;p&gt;I am uploading my screenshots to iTunes Connect, and like lots of questions preceding me, I get a "The dimensions of one or more screenshots are wrong." error. The only problem is, I've scoured every resource I could.&lt;/p&gt;

&lt;p&gt;Here is what I have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;3.5, 4, and 5.5 inch screenshots uploaded fine. I am only getting this error with iPhone 6/4.7 inch screenshots&lt;/li&gt;
&lt;li&gt;I have 4 screenshots set up like the following in JPEG form with 72 DPI:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://i.sstatic.net/yfN0x.png" rel="noreferrer"&gt;&lt;img src="https://i.sstatic.net/yfN0x.png" alt="Dimensions"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Solutions I have tried:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Renaming the file to "1", "2", ...&lt;/li&gt;
&lt;li&gt;Exporting to both .png and .jpeg formats&lt;/li&gt;
&lt;li&gt;Uploading an archive to iTunes Connect(testing not enabled)&lt;/li&gt;
&lt;li&gt;Waiting between tries&lt;/li&gt;
&lt;li&gt;Tried it on two different iMac computers&lt;/li&gt;
&lt;li&gt;Attempted both on OS X 10.10 and 10.11&lt;/li&gt;
&lt;li&gt;Cleared website data and restarted computer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am really dumbfounded. &lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">16</re:rank></item><item><title>Is it possible to develop an iOS-like operating system based on RISC-V?</title><link>https://stackoverflow.com/questions/79974663/is-it-possible-to-develop-an-ios-like-operating-system-based-on-risc-v</link><category>android</category><category>ios</category><category>iphone</category><category>unix</category><category>operating-system</category><author>noemail@noemail.org (Tom)</author><pubDate>Sun, 5 Jul 2026 12:14:00 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79974663</guid><description>
            &lt;p&gt;Recently, World Leaks published documents on the dark web related to Apple’s 630G hardware. Would it be possible to use this hardware documentation as a reference to design a RISC-V-based operating system similar to iOS, with the same level of smooth performance as iOS and a feature set as extensive as Android?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>Apple AppStore not showing in app purchases option [closed]</title><link>https://stackoverflow.com/questions/79980868/apple-appstore-not-showing-in-app-purchases-option</link><category>ios</category><category>iphone</category><category>app-store-connect</category><author>noemail@noemail.org (Mahesh Shinde)</author><pubDate>Wed, 15 Jul 2026 05:58:52 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79980868</guid><description>
            &lt;p&gt;I’ve already have app in review but it got rejected. Now I want to resubmit it but I am not getting in app purchases option in app version page.&lt;/p&gt;
&lt;p&gt;Can you list steps to get this listed on app version page?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">-1</re:rank></item><item><title>Apple certificate from Windows loading</title><link>https://stackoverflow.com/questions/31159870/apple-certificate-from-windows-loading</link><category>ios</category><category>iphone</category><category>ssl</category><category>push-notification</category><category>certificate</category><author>noemail@noemail.org (Eloy Fernández Franco)</author><pubDate>Wed, 1 Jul 2015 11:21:25 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/31159870</guid><description>
            &lt;p&gt;I am trying to get a iOS certificate from Windows. I was following these &lt;a href="http://www.phonegap.es/2015/03/como-crear-certificado-ios-para-phonegap-build-desde-windows/" rel="nofollow noreferrer"&gt;steps&lt;/a&gt; (it is Spanish... but easy to follow: almost all are openssl commands) yesterday and I could get a certificate. The problem is that I want to obtain a push notification certificate, and for this what I do is (on developers apple web):&lt;/p&gt;
&lt;p&gt;iOS Apps-&amp;gt; App IDs-&amp;gt; click on my AppID-&amp;gt; click on edit-&amp;gt; enable pushnotification (really, I clicked it enabled when I create the AppId by first time) and generate a certificate. On the next screen I choose the same .certSigningRequest which one I made the developer certificate and, but loading spins and spins to infinity.&lt;/p&gt;
&lt;p&gt;Further, I can do almost nothing... when I try to revoke a certificate, it ask me this&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Revoke Certificate&lt;br /&gt;
Revoking this certificate will invalidate it and any related services or provisioning profiles that use this certificate may be affected.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But finally doesn't remove it. When I try to delete an app id, I see a modal that I think asks about the same, but it goes fast and the page changes showing only:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;HTTP 405 Method Not Allowed&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The Provisioning Profiles is the same than the certificate... it asks me if I am sure... but finally doesn't remove.&lt;/p&gt;
&lt;p&gt;Now if I want to revoke the pushnotification to he appid it ask me if I am sure, but after this confirmation, the loading spin and spin and never finish. If I want to create a new development certificate, when it ask me for the certSigningRequest I upload (a new one, created following the same steps than the first), but the loading spins and spins and never ends.&lt;/p&gt;
&lt;p&gt;why I can do nothing!!!???? Am I doing something wrong??&lt;/p&gt;
&lt;p&gt;PS: To generate the pushnotification certificate I was following &lt;a href="https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringPushNotifications/ConfiguringPushNotifications.html" rel="nofollow noreferrer"&gt;this official guide&lt;/a&gt;&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">1</re:rank></item><item><title>Comparing a nil NSString with another valued NSString returns NSOrderedSame</title><link>https://stackoverflow.com/questions/5466738/comparing-a-nil-nsstring-with-another-valued-nsstring-returns-nsorderedsame</link><category>objective-c</category><category>iphone</category><category>compare</category><category>nsstring</category><category>equality</category><author>noemail@noemail.org (Oliver)</author><pubDate>Tue, 29 Mar 2011 00:54:20 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/5466738</guid><description>
            &lt;p&gt;I'm testing a string with an other, and I notice that if the first string is nil, the return value equals NSOrderedSame (valued to 0).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;if([oneString compare:otherString] == NSOrderedSame)&lt;/code&gt; returns YES if oneString is nil.&lt;/p&gt;

&lt;p&gt;So I should test
&lt;code&gt;if(oneString != nil &amp;amp;&amp;amp; [oneString compare:otherString] == NSOrderedSame)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I guess I should also test otherString in the condition, and make a special case if I want that &lt;code&gt;[nil compare:nil]&lt;/code&gt; returns &lt;code&gt;NSOrderedSame&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Is there a more convenient way to compare string without having to do such tests and to really test if both strings are the same ?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">6</re:rank></item><item><title>How can I draw a semicircle using CoreGraphics?</title><link>https://stackoverflow.com/questions/9937964/how-can-i-draw-a-semicircle-using-coregraphics</link><category>iphone</category><category>ios</category><category>xcode</category><author>noemail@noemail.org (user1300542)</author><pubDate>Fri, 30 Mar 2012 06:24:16 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/9937964</guid><description>
            &lt;p&gt;I am trying to draw a semicircle using Core Graphics and filling it with some color. I want to replace the color with an image by using CALayer. How can I do this?&lt;/p&gt;
&lt;p&gt;The code goes here.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetLineWidth(context, 2);
CGContextSetStrokeColorWithColor(context, [UIColor blueColor].CGColor);
CGContextMoveToPoint(context, 0, 500);
CGContextAddArc(context, 60, 500, 50, 90, 180, 0);
CGContextStrokePath(context);
&lt;/code&gt;&lt;/pre&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">5</re:rank></item><item><title>Can a C# desktop app install an iOS App over USB onto unsupervised iPhones?</title><link>https://stackoverflow.com/questions/79974739/can-a-c-sharp-desktop-app-install-an-ios-app-over-usb-onto-unsupervised-iphones</link><category>ios</category><category>swift</category><category>iphone</category><category>xcode</category><author>noemail@noemail.org (ro ko)</author><pubDate>Sun, 5 Jul 2026 17:00:51 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79974739</guid><description>
            &lt;p&gt;I am building a diagnostic workflow where a desktop application needs to install a companion iOS app onto a USB-connected iPhone.&lt;/p&gt;
&lt;p&gt;The desktop application is written in C# and runs on macOS. I can already detect and pair iPhones over USB, and I have successfully tested installation on supervised devices using Apple Configurator / MDM-style workflows.&lt;/p&gt;
&lt;p&gt;What I need to confirm is whether a similar installation flow can work on &lt;strong&gt;unsupervised iPhones&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Context:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The iPhone is connected over USB.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The user can manually tap &lt;strong&gt;Trust This Computer&lt;/strong&gt; on the iPhone.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I do not need a completely silent install.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I would like the C# desktop app to trigger the install directly, for example by using &lt;code&gt;libimobiledevice&lt;/code&gt;, &lt;code&gt;ideviceinstaller&lt;/code&gt;, Apple Configurator tooling, or another supported mechanism.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The iOS app is intended for diagnostic use.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Things I am trying to avoid.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;I want to avoid Ad Hoc provisioning because of the 100-device limit.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I also want to avoid requiring every device to be supervised.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And I want to avoid person running diagnostic to manually login to iPhone apple account for each device.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;My questions are:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Can an unsupervised iPhone accept an app installation over USB if the user has trusted the computer?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can this be done for an App Store or unlisted App Store app without the user opening the App Store manually?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can Apple Business Manager / Apps and Books device-based licensing work for this case i.e without an Apple ID on the iPhone?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can a third-party desktop app trigger this reliably, or is this only supported through Apple Configurator / MDM?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Are there Apple policy or technical limitations that would make this unsuitable for production use?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I am not trying to bypass code signing or App Review. I am trying to understand the supported distribution model for installing a legitimate iOS diagnostic app onto customer-owned, unsupervised iPhones connected by USB.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>How can I hide the last digit when I'm typing a password on my website on iOS</title><link>https://stackoverflow.com/questions/10747002/how-can-i-hide-the-last-digit-when-im-typing-a-password-on-my-website-on-ios</link><category>javascript</category><category>iphone</category><category>html</category><category>ios</category><category>ipad</category><author>noemail@noemail.org (tommywang)</author><pubDate>Fri, 25 May 2012 00:20:50 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/10747002</guid><description>
            &lt;p&gt;I have an input tag with password type on my website.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;input type="password"&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;With iPad or iPhone, it shows always the last letter when you are typing a password.&lt;/p&gt;

&lt;p&gt;My problem is that I do a lot of demonstrations of my website with iPad. &lt;/p&gt;

&lt;p&gt;I don't want that iPad shows the last letter when I'm typing my password.&lt;/p&gt;

&lt;p&gt;Can I fix this by modifying something on my website?  &lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">5</re:rank></item><item><title>Retain, alloc, properties ... Topic to make your Obj-c life easier ! [closed]</title><link>https://stackoverflow.com/questions/2496477/retain-alloc-properties-topic-to-make-your-obj-c-life-easier</link><category>objective-c</category><category>iphone</category><category>nsarray</category><category>allocation</category><category>retain</category><author>noemail@noemail.org (gotye)</author><pubDate>Mon, 22 Mar 2010 23:24:05 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/2496477</guid><description>
            &lt;p&gt;The more I code, the more I get lost ... so I decided to create a topic entirely dedicated to the memory management for me (and others) not to waste hours understanding obj-c basics ... I'll update it as new questions are asked !&lt;/p&gt;

&lt;p&gt;Okay below is some examples :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// myArray is property (retain)
myArray = otherArray;

//myArray isn't a property
myArray = otherArray;

//myArray is a property (retain)
myArray = [[NSArray alloc] init];

//myArray isn't a property
myArray = [[NSArray alloc] init];
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;--- So, if I understand ... when you put self.myArray you tell Xcode to use the getter or setter but when you just do myArray, you are responsible for everything, right ?&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[SOLVED] UPDATE1&lt;/strong&gt; : Is there a difference between :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;//myArray is a property
myArray = otherArray; // it is only a reference, releasing otherArray will imply releasing myArray
self.myArray = otherArray; // otherArray is sent a retain message so releasing otherArray will still keep myArray in memory
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;--- Yes, there is a difference (see comments above)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[SOLVED] UPDATE2 :&lt;/strong&gt; Is myArray below equal to nil ?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;NSArray *myArray;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;--- Kubi : Yes, it is equal to nil.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[SOLVED] UPDATE3 :&lt;/strong&gt; does it count for 2 retains ? One retain from self and one retain from alloc ? Is this a memory leak ?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;self.myArray = [[NSArray alloc] init];
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;--- Kubi : Yes, this is a memory leak !&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[SOLVED] UPDATE4 :&lt;/strong&gt; the property takes care of everything ? no need to alloc or release ?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;self.myArray = [NSArray array];
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;--- We here use the setter so that the array is retained properly&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;[SOLVED] UPDATE5 :&lt;/strong&gt; Are these two blocks the same ?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;//myArray is a retained property

self.myArray = [NSArray array]; //retain
self.myArray = nil; //release and set to nil

myArray = [[NSArray alloc] initWithArray]; //retain
self.myArray = nil; //release and set to nil
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;--- Kubi : Yes, they're identical&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the time.&lt;/p&gt;

&lt;p&gt;Gotye.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">4</re:rank></item><item><title>How to make a background on a webpage on Safari</title><link>https://stackoverflow.com/questions/79966951/how-to-make-a-background-on-a-webpage-on-safari</link><category>iphone</category><category>next.js</category><category>tailwind-css</category><category>mobile-safari</category><author>noemail@noemail.org (Tom)</author><pubDate>Thu, 25 Jun 2026 16:49:12 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79966951</guid><description>
            &lt;p&gt;I'm making a website using &lt;code&gt;Next.js&lt;/code&gt; and &lt;code&gt;Tailwind CSS&lt;/code&gt;. I actually want to make a specific background with the code below:&lt;/p&gt;
&lt;pre class="lang-html prettyprint-override"&gt;&lt;code&gt;&amp;lt;body&amp;gt;
        &amp;lt;div aria-hidden=&amp;quot;true&amp;quot; className=&amp;quot;pointer-events-none fixed inset-x-0 top-0 h-dvh -z-10 overflow-hidden bg-background&amp;quot;&amp;gt;
            &amp;lt;div className=&amp;quot;absolute inset-0 bg-linear-to-b from-blue-50/60 via-transparent to-violet-50/40&amp;quot;/&amp;gt;

            &amp;lt;div className=&amp;quot;absolute -left-32 -top-24 h-136 w-136 rounded-full bg-blue-400/30 blur-[130px]&amp;quot;/&amp;gt;
            &amp;lt;div className=&amp;quot;absolute -right-32 top-16 h-144 w-xl rounded-full bg-violet-400/25 blur-[140px]&amp;quot;/&amp;gt;
            &amp;lt;div className=&amp;quot;absolute left-[8%] top-[8%] h-104 w-104 rounded-full bg-cyan-400/20 blur-[150px]&amp;quot;/&amp;gt;
            &amp;lt;div className=&amp;quot;absolute -left-56 top-[44%] h-128 w-lg rounded-full bg-sky-400/18 blur-[140px]&amp;quot;/&amp;gt;
            &amp;lt;div className=&amp;quot;absolute -bottom-48 -right-32 h-136 w-136 rounded-full bg-rose-400/18 blur-[140px]&amp;quot;/&amp;gt;
        &amp;lt;/div&amp;gt;

&amp;lt;-- Website content --&amp;gt;
&amp;lt;/body&amp;gt;

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, the background is not going under the searchbar on IPhone (safari).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://i.sstatic.net/4h18S6OL.png" alt="screenshot of the issue" /&gt;&lt;/p&gt;
&lt;p&gt;I assume this issue may be with all browsers with a similar search bar. The only solution I have is to make a background color in the body anchor but in my case it's not possible.&lt;/p&gt;
&lt;p&gt;How to make the background go under this search bar without breaking other browsers compatibility?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">2</re:rank></item><item><title>The developer disk image could not be mounted on this device</title><link>https://stackoverflow.com/questions/79910915/the-developer-disk-image-could-not-be-mounted-on-this-device</link><category>ios</category><category>iphone</category><category>flutter</category><category>xcode</category><author>noemail@noemail.org (Josal)</author><pubDate>Thu, 19 Mar 2026 20:19:50 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79910915</guid><description>
            &lt;p&gt;I'm trying to run my app on a physical iPhone using Xcode, but I’m getting the following error:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://i.sstatic.net/rp7FInkZ.png" alt="screenshot of xcode select device option" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The developer disk image could not be mounted on this device.&lt;/p&gt;
&lt;p&gt;Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The bundle image is missing the requested variant for this device.)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I am using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;iPhone 17&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Recently installed Xcode 26.3 from AppStore&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;% xcodebuild -version

&amp;gt; Xcode 16.4
&amp;gt; Build version 16F6
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;iOS version - 26.2&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;MacBook Air M3&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It's my first time developing an iOS app on a MacBook and an iPhone, and I've tried many solutions, including restarting the iPhone, toggling developer mode, restarting VS Code, and Xcode.&lt;br /&gt;
Would appreciate it if anyone else has hit this and found a fix.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>Flutter.io (dart) app fails to launch on iOS simulator</title><link>https://stackoverflow.com/questions/47443739/flutter-io-dart-app-fails-to-launch-on-ios-simulator</link><category>ios</category><category>iphone</category><category>simulator</category><category>flutter</category><author>noemail@noemail.org (Deborah)</author><pubDate>Wed, 22 Nov 2017 20:55:25 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/47443739</guid><description>
            &lt;p&gt;I have up-to-date OSX Sierra, up-to-date XCode with applicable plugins, and an iPhone 6 simulator open and ready.&lt;/p&gt;
&lt;p&gt;I have followed all the directions at &lt;a href="https://flutter.io/setup-macos/#ios-setup" rel="nofollow noreferrer"&gt;https://flutter.io/setup-macos/#ios-setup&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When I &lt;code&gt;flutter run&lt;/code&gt; from Terminal, the app fails to install on the simulator with message:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Could not build the application for the simulator. Error launching application on iPhone 6.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Here is what Terminal said:&lt;/p&gt;
&lt;hr /&gt;
&lt;pre&gt;&lt;code&gt;            Launching lib/main.dart on iPhone 6 in debug mode...
Running pod install...                                8.5s
Running Xcode build...                               24.1s
Failed to build iOS app
Error output from Xcode build:
↳
    2017-11-22 13:13:38.122 xcodebuild[47659:25935636]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13510/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/Runtime/PBXTargetBuildContext.mm:757
    Details:  unexpected successful exit code from cancelled command &amp;lt;C0009:'CpResource app.flx':P12&amp;gt;
    Object:   &amp;lt;PBXTargetBuildContext: 0x7fccf1235200&amp;gt;
    Method:   -createCommandInvocationRecordFromInvocation:
    Thread:   &amp;lt;NSThread: 0x7fccf2847ea0&amp;gt;{number = 16, name = (null)}
    Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
    ** BUILD FAILED **
    
    
    The following build commands failed:
        CopyPlistFile /Users/deborah/Desktop/chq_emulator/build/ios/Debug-iphonesimulator/Runner.app/GoogleService-Info.plist Runner/GoogleService-Info.plist
    (1 failure)
Xcode's output:
↳
    Build settings from command line:
        ARCHS = x86_64
        BUILD_DIR = /Users/deborah/Desktop/chq_emulator/build/ios
        ONLY_ACTIVE_ARCH = YES
        SDKROOT = iphonesimulator11.1
    
    === CLEAN TARGET leveldb-library OF PROJECT Pods WITH CONFIGURATION Debug ===
    ... list of subsidiary infomation ...

    Could not build the application for the simulator.
    Error launching application on iPhone 6.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Anyone else out there with advice for how to get Flutter going on the simulator?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">4</re:rank></item><item><title>Testing Multiplayer Game Center game</title><link>https://stackoverflow.com/questions/12624698/testing-multiplayer-game-center-game</link><category>iphone</category><category>ios</category><category>ios-simulator</category><category>game-center</category><author>noemail@noemail.org (Phil)</author><pubDate>Thu, 27 Sep 2012 15:16:59 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/12624698</guid><description>
            &lt;p&gt;I've read varying/conflicting answers, and I need some definite answers.&lt;/p&gt;

&lt;p&gt;I'm currently at the start of developing a turn-based multiplayer game with &lt;code&gt;Game Center&lt;/code&gt;. I've been following a &lt;a href="http://www.raywenderlich.com/5509/beginning-turn-based-gaming-with-ios-5-part-2" rel="noreferrer"&gt;tutorial&lt;/a&gt; @&lt;a href="http://www.raywenderlich.com/tutorials" rel="noreferrer"&gt;rayWenderlich.com&lt;/a&gt;, and I've got the player being authenticated in the simulator and the match making viewController popping up, but that's as far as I've got.&lt;/p&gt;

&lt;p&gt;So first question is, &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is it possible for my code (via the simulator), and my iPhone to
connect/match/find each other?

&lt;ul&gt;
&lt;li&gt;I've read that this is not possible, but I'm sure I saw a Youtube video of a guy that got both of them communicating&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;What aspects of turn-based Game Center functionality can you test with just the simulator and 1 device?&lt;/li&gt;
&lt;/ol&gt;

&lt;hr&gt;

&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I wasn't imagining things, after a bit of searching, &lt;a href="http://www.youtube.com/watch?v=rqGORADIaEs" rel="noreferrer"&gt;I found that Youtube video.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Maybe it's something different, but it seems to be possible to match/play from the simulator to an &lt;code&gt;iOSDevice&lt;/code&gt; and back again. How is that compared to what people say you can't do on here?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">16</re:rank></item><item><title>Detecting iPhone 6/6+ screen sizes in point values</title><link>https://stackoverflow.com/questions/25756087/detecting-iphone-6-6-screen-sizes-in-point-values</link><category>ios</category><category>iphone</category><category>ios8</category><author>noemail@noemail.org (daspianist)</author><pubDate>Wed, 10 Sep 2014 01:41:41 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/25756087</guid><description>
            &lt;p&gt;Given the newly announced iPhone 6 &lt;a href="http://www.apple.com/iphone/compare/"&gt;screen sizes&lt;/a&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;iPhone 6: 1334h * 750w @2x (in points: 667h * 375w)
iPhone 6+: 1920 * 1080 @3x (in points: 640h * 360w)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I was wondering if there is code that allows me to detect which screen size the user's device is, so that I could adjust and size &lt;code&gt;UIImages&lt;/code&gt; and other materials accordingly with the user's device. &lt;/p&gt;

&lt;p&gt;So far, I have been using the following:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;- (NSString *) platform{
    size_t size;
    sysctlbyname("hw.machine", NULL, &amp;amp;size, NULL, 0);
    char *machine = malloc(size);
    sysctlbyname("hw.machine", machine, &amp;amp;size, NULL, 0);
    NSString *platform = [NSString stringWithUTF8String:machine];
    free(machine);
    return platform;
}

- (NSString *) platformString{
    NSString *platform = [self platform];
    if ([platform isEqualToString:@"iPhone1,1"])    return @"iPhone 1G";
    if ([platform isEqualToString:@"iPhone1,2"])    return @"iPhone 3G";
    if ([platform isEqualToString:@"iPhone2,1"])    return @"iPhone 3GS";
    if ([platform isEqualToString:@"iPhone3,1"])    return @"iPhone 4";
    if ([platform isEqualToString:@"iPhone3,3"])    return @"Verizon iPhone 4";
    if ([platform isEqualToString:@"iPhone4,1"])    return @"iPhone 4S";
    if ([platform isEqualToString:@"iPhone5,1"])    return @"iPhone 5 (GSM)";
    if ([platform isEqualToString:@"iPhone5,2"])    return @"iPhone 5 (GSM+CDMA)";
    if ([platform isEqualToString:@"iPhone5,3"])    return @"iPhone 5c (GSM)";
    if ([platform isEqualToString:@"iPhone5,4"])    return @"iPhone 5c (GSM+CDMA)";
    if ([platform isEqualToString:@"iPhone6,1"])    return @"iPhone 5s (GSM)";
    if ([platform isEqualToString:@"iPhone6,2"])    return @"iPhone 5s (GSM+CDMA)";
    if ([platform isEqualToString:@"iPod1,1"])      return @"iPod Touch 1G";
    if ([platform isEqualToString:@"iPod2,1"])      return @"iPod Touch 2G";
    if ([platform isEqualToString:@"iPod3,1"])      return @"iPod Touch 3G";
    if ([platform isEqualToString:@"iPod4,1"])      return @"iPod Touch 4G";
    if ([platform isEqualToString:@"iPod5,1"])      return @"iPod Touch 5G";
    if ([platform isEqualToString:@"iPad1,1"])      return @"iPad";
    if ([platform isEqualToString:@"iPad2,1"])      return @"iPad 2 (WiFi)";
    if ([platform isEqualToString:@"iPad2,2"])      return @"iPad 2 (GSM)";
    if ([platform isEqualToString:@"iPad2,3"])      return @"iPad 2 (CDMA)";
    if ([platform isEqualToString:@"iPad2,4"])      return @"iPad 2 (WiFi)";
    if ([platform isEqualToString:@"iPad2,5"])      return @"iPad Mini (WiFi)";
    if ([platform isEqualToString:@"iPad2,6"])      return @"iPad Mini (GSM)";
    if ([platform isEqualToString:@"iPad2,7"])      return @"iPad Mini (GSM+CDMA)";
    if ([platform isEqualToString:@"iPad3,1"])      return @"iPad 3 (WiFi)";
    if ([platform isEqualToString:@"iPad3,2"])      return @"iPad 3 (GSM+CDMA)";
    if ([platform isEqualToString:@"iPad3,3"])      return @"iPad 3 (GSM)";
    if ([platform isEqualToString:@"iPad3,4"])      return @"iPad 4 (WiFi)";
    if ([platform isEqualToString:@"iPad3,5"])      return @"iPad 4 (GSM)";
    if ([platform isEqualToString:@"iPad3,6"])      return @"iPad 4 (GSM+CDMA)";
    if ([platform isEqualToString:@"iPad4,1"])      return @"iPad Air (WiFi)";
    if ([platform isEqualToString:@"iPad4,2"])      return @"iPad Air (Cellular)";
    if ([platform isEqualToString:@"iPad4,4"])      return @"iPad mini 2G (WiFi)";
    if ([platform isEqualToString:@"iPad4,5"])      return @"iPad mini 2G (Cellular)";
    if ([platform isEqualToString:@"i386"])         return @"Simulator";
    if ([platform isEqualToString:@"x86_64"])       return @"Simulator";
    return platform;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;As such, should I assume &lt;code&gt;iPhone7,1&lt;/code&gt; and &lt;code&gt;iPhone7,2&lt;/code&gt; are the iPhone 6 while &lt;code&gt;iPhone7,3&lt;/code&gt; and &lt;code&gt;iPhone7.4&lt;/code&gt; are the pluses? If anyone has more concrete way to tell it'd be great, thanks.!&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">57</re:rank></item><item><title>Disable Auto Zoom in Input "Text" tag - Safari on iPhone</title><link>https://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone</link><category>html</category><category>iphone</category><category>zooming</category><category>mobile-safari</category><category>html-input</category><author>noemail@noemail.org (Eduardo Montenegro)</author><pubDate>Mon, 7 Jun 2010 12:06:57 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/2989263</guid><description>
            &lt;p&gt;I made an HTML page that has an &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag with &lt;code&gt;type="text"&lt;/code&gt;. When I click on it using Safari on iPhone, the page becomes larger (auto zoom). Does anybody know how to disable this?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">947</re:rank></item><item><title>How do I test a camera in the iPhone simulator?</title><link>https://stackoverflow.com/questions/2168484/how-do-i-test-a-camera-in-the-iphone-simulator</link><category>iphone</category><category>ios-simulator</category><author>noemail@noemail.org (Sheehan Alam)</author><pubDate>Sat, 30 Jan 2010 16:08:27 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/2168484</guid><description>
            &lt;p&gt;Is there any way to test the iPhone camera in the simulator without having to deploy on a device? This seems awfully tedious.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">157</re:rank></item><item><title>iOS: Can a third-party app access a wired FTDI USB-serial optical probe? (Works on Android)</title><link>https://stackoverflow.com/questions/79960620/ios-can-a-third-party-app-access-a-wired-ftdi-usb-serial-optical-probe-works</link><category>c#</category><category>ios</category><category>.net</category><category>iphone</category><category>.net-ios</category><author>noemail@noemail.org (Abdul Wasey)</author><pubDate>Tue, 16 Jun 2026 11:56:54 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79960620</guid><description>
            &lt;h2&gt;Can a third-party iPhone app use a generic FTDI USB-serial optical coupler?&lt;/h2&gt;
&lt;p&gt;I'm building a cross-platform (.NET iOS / C#) app that reads smart meters via a wired optical head. The head uses an FTDI USB-serial chip. On Android this works today (USB Host + serial library).&lt;/p&gt;
&lt;p&gt;On iPhone, plugging in the same FTDI coupler (Lightning/USB-C adapter) does nothing — the app never sees a serial device.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;My understanding:&lt;/strong&gt; iOS does not expose generic USB-serial/FTDI to third party apps. External Accessory requires MFi hardware; AppleUSBFTDI (TN2315) is macOS-only; there is no public iOS equivalent of Android USB Host for arbitrary FTDI chips.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Please confirm or correct:&lt;/strong&gt; Is there &lt;em&gt;any&lt;/em&gt; supported path for generic FTDI USB-serial on iPhone (driver, entitlement, Info.plist key, framework, or library)? Or is the only viable option a different phone-side transport (MFi adapter, BLE UART bridge, etc.)?&lt;/p&gt;
&lt;p&gt;Environment: iPhone, .NET iOS, FTDI-based optical coupler, need raw byte read/write for M-Bus.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">1</re:rank></item><item><title>How to update an object's image in NSMutableArray?</title><link>https://stackoverflow.com/questions/9386926/how-to-update-an-objects-image-in-nsmutablearray</link><category>iphone</category><category>objective-c</category><author>noemail@noemail.org (Alec)</author><pubDate>Tue, 21 Feb 2012 23:25:50 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/9386926</guid><description>
            &lt;p&gt;I am trying to set the image of the face down card to the image that the value of the card is. The method in KCCard, image:, returns the image of the card.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- (UIImage *)image:(BOOL)yesOrNo
{
    if (!yesOrNo) {
        return [UIImage imageNamed:@&amp;quot;back-blue-150-3.png&amp;quot;];
    } else {
        return [UIImage imageNamed:[NSString stringWithFormat:@&amp;quot;%@-%@-150&amp;quot;, [self suitAsString], [self valueAsString]]];
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The code I am using in the deal method is as follows.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    int lastDealerX = 437;
    //int lastDealerY = 49;
    
    int lastDealerTag = 0;

    for (KCCard *aCard in dealerHand) {
        if (lastDealerTag == 0) {
            KCCardView *cardView = [[KCCardView alloc] initWithFrame:CGRectMake(lastDealerX, 49, 150, 215)];
            cardView.backgroundColor = [UIColor blackColor];
            cardView.image = [aCard image:NO];
            cardView.tag = lastDealerTag;
            [self.view addSubview:cardView];
            
            lastDealerTag = lastDealerTag + 1;
        
            lastDealerX = lastDealerX + 42;
        } else {
            KCCardView *cardView = [[KCCardView alloc] initWithFrame:CGRectMake(lastDealerX, 49, 150, 215)];
            cardView.backgroundColor = [UIColor blackColor];
            cardView.image = [aCard image:YES];
            cardView.tag = lastDealerTag;
            [self.view addSubview:cardView];
            
            lastDealerTag = lastDealerTag + 1;
            
            lastDealerX = lastDealerX + 42;
        }
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The KCCardView with tag 0 shows the card face down and the other card is face up. The problem is that when I want the face down card to show, it won't. Here is the show code.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- (IBAction)showCard:(id)sender {
    for (UIView *view in self.view.subviews) {
        for (KCCard *aCard in dealerHand) {
            KCCardView *cardView = (KCCardView *)view;
            if (cardView.tag == 0) {
                cardView.image = [[dealerHand objectAtIndex:0] image:YES];
            }
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;KCCard is an NSObject, KCCardView is a UIImageView, and dealerHand is an NSMutableArray.&lt;/p&gt;
&lt;p&gt;Here is a video showing the build and run: http://[redacted].com/misc/Blackjack.mov
Here is the XCode project: http://[redacted].com/misc/Blackjack.zip&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>Segue From UIScrollView to Other View In Swift</title><link>https://stackoverflow.com/questions/31408962/segue-from-uiscrollview-to-other-view-in-swift</link><category>ios</category><category>iphone</category><category>swift</category><category>uiscrollview</category><category>segue</category><author>noemail@noemail.org (Joaquin)</author><pubDate>Tue, 14 Jul 2015 14:04:19 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/31408962</guid><description>
            &lt;p&gt;I am making an image gallery in swift with XCode. The gallery is like this: (see bottom of the post)&lt;/p&gt;
&lt;p&gt;I do this with a view called item that has the image view and the title (xib+ControlView) inserted in a horizontal view, and this view inserted in the scroll view.&lt;/p&gt;
&lt;p&gt;I need to do actions with the views when the user touches the image or the title, for example go to other view with all the data of that album.&lt;/p&gt;
&lt;p&gt;The question: What is the correct method of doing this? Is there any way for going to other views from a view that is inserted in a scrollView? How can I do a segue from story board or from code to other view? (And which of these 2 methods is better)&lt;/p&gt;
&lt;p&gt;Thanks for the answers!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://i.sstatic.net/zdykl.png" alt="My Gallery" /&gt;&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>Installing Android Studio app on Iphone for testing</title><link>https://stackoverflow.com/questions/31665909/installing-android-studio-app-on-iphone-for-testing</link><category>android</category><category>iphone</category><category>jailbreak</category><author>noemail@noemail.org (Bob TheBuilder)</author><pubDate>Tue, 28 Jul 2015 01:19:01 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/31665909</guid><description>
            &lt;p&gt;Is there a way I can install Android on an iPhone for testing purposes? If so, could I move my app from Android Studio to my iPhone then? I was looking at Andrios which is on Cydia (for Jailbroken iPhones)&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">2</re:rank></item><item><title>Underline text in a UITextView</title><link>https://stackoverflow.com/questions/13112965/underline-text-in-a-uitextview</link><category>iphone</category><category>objective-c</category><category>ios</category><category>xcode</category><category>uitextview</category><author>noemail@noemail.org (James Anderson)</author><pubDate>Sun, 28 Oct 2012 20:58:50 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/13112965</guid><description>
            &lt;p&gt;How can I underline text in a &lt;code&gt;UITextView&lt;/code&gt;. I understand that I would need to create a subclass of &lt;code&gt;UITextView&lt;/code&gt;, but what would go under &lt;code&gt;drawRect:&lt;/code&gt;?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">11</re:rank></item><item><title>What WordPress Forms/Quiz plugin is good for Desktop and Mobile?</title><link>https://stackoverflow.com/questions/79937984/what-wordpress-forms-quiz-plugin-is-good-for-desktop-and-mobile</link><category>iphone</category><category>wordpress</category><category>forms</category><category>mobile</category><category>plugins</category><author>noemail@noemail.org (Janina Elijoki)</author><pubDate>Fri, 8 May 2026 08:29:22 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79937984</guid><description>
            &lt;p&gt;I'm creating a website in WordPress that will include multiple (5-10) quizzes and I need it to work well on desktop and mobile.&lt;/p&gt;
&lt;p&gt;The quizzes are composed of around 20-40 questions, which the user will answer on a scale of strongly disagree to strongly agree. I'm intending to use radio buttons for this.&lt;/p&gt;
&lt;p&gt;The quizzes have also been split to 5-10 sections and each section will be scored separately and results will be given per section.&lt;br /&gt;
After completing the quiz and getting their results the user should also have the option to upload a pdf or send a pdf to their email of their results.&lt;br /&gt;
The results should contain a summary of the users answer as well as the actual results based on the scoring of the sections.&lt;/p&gt;
&lt;p&gt;Previously I used the Forminator plugin for this and it had all the necessary features required, but I ran into an issue attempting to use the website and fill the form/quiz on iOS devices. The form/quiz was very slow to load and to respond to inputs and as the quiz went on it became impossible to use due to the long load and response times. On desktop and on Android devices the quiz worked fine.&lt;/p&gt;
&lt;p&gt;Has anyone encountered the same problems?&lt;/p&gt;
&lt;p&gt;What other form/quiz plugin would you recommend for me that would also work on iPhone without the performance issues?&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>Testing QR code reader</title><link>https://stackoverflow.com/questions/7318038/testing-qr-code-reader</link><category>iphone</category><category>xcode</category><author>noemail@noemail.org (Andrea Macerata)</author><pubDate>Tue, 6 Sep 2011 09:53:44 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/7318038</guid><description>
            &lt;p&gt;I created an App that reads QR Codes, but I can't test it in the simulator because you can't use the camera in the simulator.&lt;/p&gt;

&lt;p&gt;I know I should try it on a device, but should I buy the license to do so?
Is there another way to test it? Otherwise I can't go ahead with the project.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">1</re:rank></item><item><title>How can I use a Garmin IMG topographic map on an iPhone for full offline navigation?</title><link>https://stackoverflow.com/questions/79951947/how-can-i-use-a-garmin-img-topographic-map-on-an-iphone-for-full-offline-navigat</link><category>iphone</category><category>dictionary</category><category>garmin</category><category>offline-browsing</category><author>noemail@noemail.org (Rumen Zinoviev)</author><pubDate>Fri, 5 Jun 2026 15:52:55 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79951947</guid><description>
            &lt;p&gt;I have a topographic map in Garmin IMG format (.img) and I would like to use it on an iPhone completely offline.&lt;/p&gt;
&lt;p&gt;My goal is not just to view the map as an image, but to preserve as much functionality as possible, including zoom levels, map layers, points of interest, trails, routing (if supported), and other features normally available in Garmin-compatible software.&lt;/p&gt;
&lt;p&gt;I have already tried several approaches and applications, but so far none of them have provided a satisfactory solution.&lt;/p&gt;
&lt;p&gt;My questions are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Is it possible to use a Garmin IMG map directly on an iPhone?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If not, what is the best way to convert or import a Garmin IMG map for offline use on iOS?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Which iPhone applications support this type of map data, either directly or through conversion?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Is there any method that preserves most of the original map functionality rather than converting it into a simple raster image?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I am looking for a practical solution that works entirely offline while hiking in areas without mobile coverage.&lt;/p&gt;
&lt;p&gt;Any advice or experience would be greatly appreciated.&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item><item><title>playing background sound in iphone web app</title><link>https://stackoverflow.com/questions/4713122/playing-background-sound-in-iphone-web-app</link><category>iphone</category><category>background</category><category>audio</category><author>noemail@noemail.org (sudhakar)</author><pubDate>Mon, 17 Jan 2011 12:26:33 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/4713122</guid><description>
            &lt;p&gt;using html css and javascript is there a way to play a background music for an iphone webapp&lt;/p&gt;

&lt;p&gt;for example when a link is clicked in the webapp a sound should play in the background without repeating and while the sound is playing the browser should not open any apps from the iphone instead the html page which has the link should stay the way it is and only the sound should play in the background&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">1</re:rank></item><item><title>iOS 26.3.1 Emoji Issue</title><link>https://stackoverflow.com/questions/79902074/ios-26-3-1-emoji-issue</link><category>ios</category><category>iphone</category><category>xcode</category><category>ios-simulator</category><author>noemail@noemail.org (Finding Nemo)</author><pubDate>Fri, 6 Mar 2026 07:39:15 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/79902074</guid><description>
            &lt;p&gt;The issue is, the keyboard and the application looks like doesn't support the emoiji's for &lt;strong&gt;iOS 26.3.1&lt;/strong&gt; and they should resolve this on this version.&lt;/p&gt;
&lt;p&gt;To solve this install &lt;strong&gt;iOS 26.1&lt;/strong&gt; in the xcode and create a simulator based on iOS 26.1. And use it for developing. It'll work smoth and it's will show all the emoji's.&lt;/p&gt;
&lt;p&gt;Thank me later !&lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">7</re:rank></item><item><title>inaccessible due to 'internal' protection level swift 3</title><link>https://stackoverflow.com/questions/45162273/inaccessible-due-to-internal-protection-level-swift-3</link><category>ios</category><category>iphone</category><category>swift3</category><author>noemail@noemail.org (manku)</author><pubDate>Tue, 18 Jul 2017 09:09:15 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/45162273</guid><description>
            &lt;p&gt;I am getting this error "'removeCircleLabel' is inaccessible due to 'internal' protection level" on this line of code. I was adding CVCalendar Library to my project.I added the pod but i when i am adding the view controller code in my project that time its giving me this error.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;@IBOutlet weak var calendarView: CVCalendarView!

  @IBAction func removeCircleAndDot(sender: AnyObject) {
    if let dayView = selectedDay {
        calendarView.contentController.removeCircleLabel(dayView)// **error on this line** 

        if dayView.date.day &amp;lt; randomNumberOfDotMarkersForDay.count {
            randomNumberOfDotMarkersForDay[dayView.date.day] = 0
        }

        calendarView.contentController.refreshPresentedMonth()
    }
}

 public typealias ContentViewController = CVCalendarContentViewController

 public final class CVCalendarView: UIView {
// MARK: - Public properties
public var manager: Manager!
public var appearance: Appearance!
public var touchController: TouchController!
public var coordinator: Coordinator!
public var animator: Animator!
public var contentController: ContentViewController!
public var calendarMode: CalendarMode!

public var (weekViewSize, dayViewSize): (CGSize?, CGSize?)
}


// MARK: Delete circle views (in effect refreshing the dayView circle)
extension CVCalendarContentViewController {
  func removeCircleLabel(_ dayView: CVCalendarDayView) {
    for each in dayView.subviews {
        if each is UILabel {
            continue
        } else if each is CVAuxiliaryView {
            continue
        } else {
            each.removeFromSuperview()
        }
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;MY View Controller Code&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; import UIKit
 import CVCalendar


class MainPageViewController: UIViewController, UITableViewDelegate,     
UITableViewDataSource {

struct Color {
    static let selectedText = UIColor.white
    static let text = UIColor.black
    static let textDisabled = UIColor.gray
    static let selectionBackground = UIColor(red: 0.2, green: 0.2, blue: 1.0, alpha: 1.0)
    static let sundayText = UIColor(red: 1.0, green: 0.2, blue: 0.2, alpha: 1.0)
    static let sundayTextDisabled = UIColor(red: 1.0, green: 0.6, blue: 0.6, alpha: 1.0)
    static let sundaySelectionBackground = sundayText
}

// MARK: - Properties
@IBOutlet weak var calendarView: CVCalendarView!
@IBOutlet weak var menuView: CVCalendarMenuView!
@IBOutlet weak var monthLabel: UILabel!
@IBOutlet weak var daysOutSwitch: UISwitch!

fileprivate var randomNumberOfDotMarkersForDay = [Int]()

var shouldShowDaysOut = true
var animationFinished = true

var selectedDay:DayView!

var currentCalendar: Calendar?

override func awakeFromNib() {
    let timeZoneBias = 480 // (UTC+08:00)
    currentCalendar = Calendar.init(identifier: .gregorian)
    if let timeZone = TimeZone.init(secondsFromGMT: -timeZoneBias * 60) {
        currentCalendar?.timeZone = timeZone
    }
}


@IBOutlet weak var topCalBtnView = UIView()
@IBOutlet weak var sideBtnView = UIView()
@IBOutlet weak var calendarBigView = UIView()
@IBOutlet weak var filterBtn = UIButton()
@IBOutlet weak var calTable = UITableView()
@IBOutlet weak var calView = UIView()
var calendarContectObj = CVCalendarContentViewController()


convenience init() {
    self.init(nibName:nil, bundle:nil)
}

override func viewDidLoad() {
    super.viewDidLoad()
    self.navigationController?.navigationBar.isHidden = true

    //Calendar Stuff
    if let currentCalendar = currentCalendar {
        monthLabel.text = CVDate(date: Date(), calendar: currentCalendar).globalDescription
    }

    randomizeDotMarkers()
    // Do any additional setup after loading the view.
}

override func viewWillAppear(_ animated: Bool) {
    self.setLayout()
    navigationController?.interactivePopGestureRecognizer?.isEnabled = false

}

func setLayout(){
    ConstantFile.roundViewCorner(customVw: topCalBtnView!)
    ConstantFile.roundViewCorner(customVw: sideBtnView!)
    ConstantFile.roundViewCorner(customVw: calendarBigView!)
    ConstantFile.makeRoundBtnWithCornerRadius(btn: filterBtn!, cornerRadius: 0.02)
    ConstantFile.roundTableViewCorner(tableVw: calTable!)

}

//Mark:- IBAction
@IBAction func toggleMenuBtn(_ sender: Any) {
    let appDelegate: AppDelegate = UIApplication.shared.delegate as! AppDelegate
    appDelegate.centerDrawwerController?.toggle(MMDrawerSide.left, animated: true, completion: nil)
}

//MARK:- UITableView Delegate and Data Source
func numberOfSections(in tableView: UITableView) -&amp;gt; Int {
    return 1
}

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&amp;gt; Int {
    return 4
}

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&amp;gt; UITableViewCell {
    tableView.register(UITableViewCell.self, forCellReuseIdentifier: "cellId")
    let cell = tableView.dequeueReusableCell(withIdentifier: "cellId", for: indexPath)
    return cell
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

//Mark:- Calendar Stuff
@IBAction func removeCircleAndDot(sender: AnyObject) {
    if let dayView = selectedDay {
        calendarView.contentController.removeCircleLabel(dayView)

        if dayView.date.day &amp;lt; randomNumberOfDotMarkersForDay.count {
            randomNumberOfDotMarkersForDay[dayView.date.day] = 0
        }

        calendarView.contentController.refreshPresentedMonth()
    }
}

@IBAction func refreshMonth(sender: AnyObject) {
    calendarView.contentController.refreshPresentedMonth()

    randomizeDotMarkers()
}

override func viewDidLayoutSubviews() {
    super.viewDidLayoutSubviews()

    calendarView.commitCalendarViewUpdate()
    menuView.commitMenuViewUpdate()
}

private func randomizeDotMarkers() {
    randomNumberOfDotMarkersForDay = [Int]()
    for _ in 0...31 {
        randomNumberOfDotMarkersForDay.append(Int(arc4random_uniform(3) + 1))
    }
}

/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
    // Get the new view controller using segue.destinationViewController.
    // Pass the selected object to the new view controller.
}
*/

}
&lt;/code&gt;&lt;/pre&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">1</re:rank></item><item><title>itms-services // action=download-manifest url as local file</title><link>https://stackoverflow.com/questions/13184930/itms-services-action-download-manifest-url-as-local-file</link><category>iphone</category><category>ios</category><category>ipad</category><author>noemail@noemail.org (topgun)</author><pubDate>Thu, 1 Nov 2012 20:25:37 GMT</pubDate><guid isPermaLink="false">https://stackoverflow.com/q/13184930</guid><description>
            &lt;p&gt;I am trying to utilize:&lt;/p&gt;

&lt;p&gt;itms-services // action=download-manifest url as local file, is there any standard way of utilizing plist file via that? &lt;/p&gt;

        </description><re:rank scheme="https://stackoverflow.com" xmlns:re="http://purl.org/atompub/rank/1.0">0</re:rank></item></channel></rss>