iOS Programming

Subscribe to iOS Programming feed
Updated: 21 min 58 sec ago

Can I buy a iphone with a bad IMEI for development or will it not work?

2 hours 27 min ago

Pretty much title, just trying to meddle around with some iOS programming but I don't have an iphone.

Can I buy a cheap iphone off ebay with a bad IMEI or will it not work?

submitted by /u/fiver420
[link] [comments]

Anyone else not seeing Jan 17 2017 data in Sales and Trends yet?

3 hours 20 min ago

I cant see data for the 17th is says time zones are not completed but they are - generally all data is available for me at 4pm Western Europe Timezone. Just wondering if anyone else is having this issue?


submitted by /u/lending_ear
[link] [comments]

[iOS 11 Change] Caches Directory no longer counts towards total app size

6 hours 28 min ago

When you view the size of each app in iPhone Storage (Settings -> General -> iPhone Storage) you can only see the App bundle size (.app folder) and the size of the Documents folder. Caches Folder (<Application_Home>/Library/Caches) size is no longer taken into account.

So, for e.g., if you have a game app that has 100MB size and a 1GB DLC that is downloaded at launch, you'll see that the game size is 100MB and the Documents & Data section is empty, since the DLC is redownloadable, so it must be placed in the Caches Directory. This is not how it used to be until iOS 11.

I assume this is because the OS can always clear the Cache folder for some applications that are not frequently used, if the user needs more disk space. But still, atm iOS 11 users cannot know now much an app actual size is.

Was this change documented somewhere ? I don't see any mention of this in the release notes. We used to use this feature to test how much data our apps store in the caches folder. Now i'll write app a simple function to display this size inside the app, but still, seems like an important undocumented change.

submitted by /u/SiskyRO
[link] [comments]

Thinking about making a Yik Yak clone for practice. Where should I get started on this project? What API's and resources should I definitely use?

6 hours 54 min ago

I guess the title says it all.

I want to make a Yik Yak clone for practice. What API's and Cocoapods should I definitely incorporate? How should I go about planning the architecture of the app? This is one of my first medium sized projects so planning it out and considering what I need for it is kind of new to me.

submitted by /u/chromebaruma
[link] [comments]

Open Source App: Eden World Builder

8 hours 16 min ago

The developer of Eden World Builder, a sandbox building game (kinda like Minecraft) just made the code open source. You might actually remember it, in total it got about 4 million downloads. It was super popular.

The app is kind of dead now, but I thought this was interesting, as the app used to be so big and is now open soruce. There's a group of developers on the Eden discord that are working on updating the app, and maybe even a Android port. It would be super cool if people wanted to help, but if you don't know the game you might not be interesred.

If you're not interested in helping with any official updates, but want to check out the source code, you can do so here.

submitted by /u/ryanjkontos
[link] [comments]

How to get my screen to be dynamic height based on webview height?

10 hours 42 min ago

Hi guys, I have a problem for setting up a screen with dynamic height based on webview content size height.

I've already attached a scrollview into my screen and set constraint 0,0,0,0. Also, I put a webview container and add wkwebview into that container in code and set up the height constraint for that container.

Currently I already be able to get the webview height by using wkwebview evaluatejavascript. Anyone can give me idea of how to set this screen height based on webview contentsize? Any help will be much appreciated.

MyViewController code:

My screen for storyboard structure:

submitted by /u/th3phantom
[link] [comments]

Accessing all Apple system icons for UIButton

13 hours 59 min ago

I see that BarButtonItems and NavigationItems have system icons like Play or Pause but is there anyway to access the audio source icons that Apple uses (for use in a UIButton not barbuttonitem or navigationitem)? I don't know if I am using the right term but on your iPhone in iTunes its the icon at very bottom in center. Looks like a triangle with rings, but if you put AirPods in it changes to an AirPods icon. I am trying to use these...would using those be against Apple's policy?

submitted by /u/singleton4444
[link] [comments]

How to join the table in realm?

Wed, 01/17/2018 - 23:29

Hey guys, I have a situation that from realm table A the data is : apple, orange, salad and the data from table B is orange. How can i manage my tableview to display apple, orange, orange, salad? Thanks in advance.

submitted by /u/th3phantom
[link] [comments]

How to create a new tableview cell from two different API?

Wed, 01/17/2018 - 22:26

Hey guys, I have a situation that from API A the returned data is : apple, orange and returned data from API B is orange, salad.How can i manage my tableview to display apple, orange, orange, salad? Thanks in advance.

submitted by /u/th3phantom
[link] [comments]

How to save websites, videos, and images to my app?

Wed, 01/17/2018 - 22:21

How can I save links, images, and files to my app. I would like the user to click the share button the iphone has built in and click on my app to save the file. An app that does this is Pocket or Flipboard, you can save stuff to that app. Im fairly certain I need the share extension in my xcode project but I cant find any help or tutorial on saving links or videos

submitted by /u/p511
[link] [comments]

Developing app for student organization - no experience, need help!

Wed, 01/17/2018 - 22:17


I am a member of my University's student government, and I am looking for a way to create a low-cost app. I have next to no coding experience. However, I have looked into several options including and DropSource. The app would contain information about upcoming events, health information categories, and other sections. I welcome any suggestions, comments, or expert advice.

submitted by /u/jacksonhigg
[link] [comments]

Do I need to filter messages for profanity in my game?

Wed, 01/17/2018 - 19:52

I have a very basic messenger built into my upcoming game. Text-only messages appear on the opponents screen when sent, and then disappear forever. I was looking at the App Review guidelines and it says you have to have all this stuff setup to filter, report, and block objectionable material and I was wondering if this is all actually needed. Or is it all dependent on the age rating when submitting? Thanks!

submitted by /u/gonnabuysomewindows
[link] [comments]

Implementing an subscription model outside of iTunes?

Wed, 01/17/2018 - 18:23

I'm considering building an app, but the business model would really require a subscription (it's targeting a small niche that would be willing to pay a monthly fee for this app), but I don't think Apple will accept a subscription pricing plan on an app that doesn't provide continued new content. Can I have my app use a login that is created on an external website, and use that external site to setup the subscription payments?

So the app is free in iTunes, tied to some web application that where user accounts are actually created. Anyone have experience with this with Apple?

submitted by /u/steveoscaro
[link] [comments]

Tutorial Projects (Let's Build That App, Angela Yu, DevSlopes, Brian Advent, Etc.) - Do you post them on Github? Do you add modifications to them to learn more? How do you go about getting the most out of them?

Wed, 01/17/2018 - 16:32

Title says it all.

Tutorials are great but at some point they do become mindlessly writing code as you're following along with them although they're amazing resources to learn from. How do you get the most out of your learning when you follow tutorials? Do you add modifications to them? Is it bad practice to post them on Github?

submitted by /u/chromebaruma
[link] [comments]

Any good examples of nice iOS 11 design?

Wed, 01/17/2018 - 15:44

I'm building a simple little app, and I want it to look modern and "at home" in iOS 11. I just can't get the hang of it, though — my designs are boring and flat. Even though my app is just a single view with bunch of labels and one CollectionView, the difference in feel is huge.

I'm looking for inspiration. The only thing I was able to find was this article, but I find it quite lacking. Do you know any apps with beautiful iOS 11 design (subtle shadows, rounded corners, nice colours) I could draw some inspiration from?

submitted by /u/Sh4rPEYE
[link] [comments]

What type of view is this?

Wed, 01/17/2018 - 14:58

I came across this view when using an app and was wondering if this is a custom action sheet?

Is this something that is built into iOS?

Sorry if this is a newbie question!

submitted by /u/SimonQQ
[link] [comments]

How to register app to open URLs?

Wed, 01/17/2018 - 13:29

I don't want to create a custom URL scheme - I just want my app to show in the Open In menu (aka share sheet) whenever the user shares a URL of any kind. I tried adding the document types key with proper setup (according to multiple sources) to Info.plist with "public.url" as the content type UTI and my app won't show up in Open In. I also tried "public.url-name", no dice there either. Any ideas?

submitted by /u/nathreed
[link] [comments]