iOS

iOS is a mobile operating system developed by Apple; it is a derivative of the Mac OS X desktop operating system, with which it shares many (but not all) common frameworks and other components. These include Cocoa Touch, the Mach/Darwin/XNU kernel and code from the Berkeley Software Distribution (BSD). Each iOS application runs in its own secure sandbox to prevent altering other applications, the operating system, or any other data.

Share tech news, updates, or what's on your mind.

Sign up to Post

I had a problem with UITableView Lagging on Scroll when there were long non-English (Persian) text in the cell (list with more than 40000 items and text with more than 1500 chars wont lag if they are English ) so I came up with this only solution that worked for me to keep the cells in an Array (just the non-English Ones) and reuse them myself instead of dequeuing again (will use normal pattern with other cell types) it works just perfect when the data is already added for the first time , adding a new Data no matter of what type messes up the table. here's the code :

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {


            if(dataIndex[indexPath.row].cell == nil)
            {
                let cell = tableView.dequeueReusableCell(withIdentifier: "ChatRightTextCell", for: indexPath) as! ChatRightTextCell


                cell.configureCell(indexPath: indexPath)
                dataIndex[indexPath.row].cell = cell
                return cell
            }
            else
            {
                let cell = dataIndex[indexPath.row].cell
                cell.configureCell(indexPath: indexPath)
                return cell
            }

        }

note that the Table and the cells are transformed by 180 degree so the cells are stacked from bottom , so adding a new Item to the table be like :

dataIndex.insert(newData,at:0)
tableview.reloadData()


at ViewController start there's a 'for' …
0
Cloud Class® Course: Microsoft Office 2010
LVL 12
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Is there any way of setting an iPhone X to automatically install all app updates automatically without me having to manually install them?
0
What apps or methods exist that will allow me to have a second phone number assigned to my iPhone (similar to Google Voice)?

I am a Sprint PCS subscriber and really liked the Google Voice service that replaced the iPhone phone number with my Google voice phone number everytime that I made a call using my iPhone. My Google Voice phone number would always show on other people's caller ID whenever I would call them.

However, this Google voice integration with my Sprint PCS service ended on 6/1/18 due to security upgrades and Google not producing an updated app.

So I'm currently looking for a replacement app or service I can subscribe to that will display an alternate phone number every time that I make an outgoing phone call using my iPhone X.

What apps or services are currently available that will allow this to be done?
0
i need to refresh my table view and i m using this code .
 refresher = UIRefreshControl()
        refresher.attributedTitle = NSAttributedString(string: "pull to refresh")
        refresher.addTarget(self, action: #selector(UITableViewController.populate), for: UIControlEvents.valueChanged)
        tableview.addSubview(refresher)

In this it is not taking the UITableviewcontoller .its saying error like
 "Type 'UITableViewController' has no member 'populate'"
0
Dear All,

We are running Microsoft Lync Server 2013 Hosting Pack with the latest Cumulative Update KB 2809243 (version 8308.992), published in July 2017.

Currently, and since February 2018, all our customers are facing an issue with the mobile client for iOS  (https://itunes.apple.com/us/app/skype-for-business/id605841731?mt=8) and more specifically with push notifications.

Incoming calls are not pushed to the mobile client anymore, even with the “Background App Refresh” option enabled.

Back in November 2017, with the App version 6.17.3, push notifications were still working correctly, but the version 6.18.1.x deployed in February 2018 broke the service.

I still have an iPhone 7 with App version 6.17.3 (Nov 15, 2017) where push notifications are working perfectly.

I'm sure our infrastructure is OK, and the proof is that with an older App version, everything works well.

Do you have any suggestions?

Thank you a lot
0
We configure and prepaire IPads with apple configurator 2.5 on a mac.
With this program we change the background, hide some apps, etc.

Now a user wants to change their screen-lock settings, but this setting is locked (greyed out).
I have searched the policies regarding screen-lock but failed to find anythng related to that..

Do you have any suggestions?

thanks in advance!
0
We have some IOS app developers who have made a app for IOS (IPA package). They have send the IPA file to me, and they have signed it with their own developer certificate - and say that we must sign it with our own, before we can deploy it.

We are using Intune with SCCM (hybrid) and SCCM I know very well how to deploy and stuff. But do any have some input how we should do this ?. It must be noticed, the App must not be on "app store". It is a local company app that we want to deploy to company phones etc, so outside App store

Can any give some input on this ?

Another note. I tried to put the Ipa on a phone through apple configurator 2. It install, but afterwards the icon stay "grey" - and when trying to click on it, the error comes that the application cannot be installed.  Must the app not work through apple configurationer with manual installation ? - or has this also something to do with the developer signing etc ?
0
Thanks for taking the time to read this. I'm confused on how to insert a comment using the YouTube API. I'm fairly new to using APIs, so I don't quite get what they are saying to do in their documentation.

I've authenticated the user using Google Sign-In for iOS with the scope

    "https://www.googleapis.com/auth/youtube.force-ssl"

Open in new window


which is required to insert a comment. But now, I have to actually insert the comment and (like I've said) I don't understand how to do that. I'm using Alamofire for the request and Swift 4 as my language. I would highly appreciate it if someone could help me.
0
I have a mobile application for iOS written in Titanium SDK.  Everything seems to work fine on an iPhone - however, when I use the same app on an iPad, 2 of the buttons don't work as they're supposed to.  On the iPhone they launch a mapping app of the user's choice, but on the iPad they don't do anything.  No error.  it's as if I'm not even pushing the button.  Any thoughts on how I can stat to trouble shoot this issue?
0
Hi,

As per my screenshot (attached), one of my Gmail accounts keeps show as 4 unread messages for about 5 seconds, and then it changes back to 0... or if I actually have 2 unread messages, it will show as 6, etc... then back to the 2 (the real unread number).

NOTES
- it doesn't happen any of my other Gmail accounts
- it only happens on my iPhone and not on Mac Mail or Gmail in web view
- i've deleted the Mail account and re-added it... but the problem still persists
- i went into the account on my iPhone and selected all emails... marked them all as unread... then selected all again and marked them as read... but the problem still persists

Any help at all would be much appreciated.

email
0
Free Tool: SSL Checker
LVL 12
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I am using Apple iPhone  iOS 11.2.5. with exchange server 2016.
I normally don't have any issues with configuring e-mail to the phone but recently although users are still able to receive and send mail they are getting a pop up regarding can't verify server identity with the option to go to Details or Cancel and it also says autodiscover or  webmail.mydomain(depending on user)  cannot be Verified by Mail.
So I choose detail and I see a untrusted Certificate issued by nas-6D-EB-12.local. when I choose more details it gives more info regarding the certificate.
I do not know why this certificate is popping up all of a sudden.
I have attached a few screen shots of what I am talking about but whited out important names.
I tried uninstalling then restarting and/or resetingt my phone then adding account back but still no luck still getting popup.
Again I can cancel and mail flows normally...
Any solutions would be greatly appreciated
6.png
2.png
3.png
0
I have put my edited by all google sheets in an html. It is editable on laptop; but, not on iPad or iPhone.

https://www.stevenhellman.com/Loan/Loan.html


<!DOCTYPE html>
<html>
<head>
<style>
html,body{
  width: 100%;
  height: 100%;
}
</style>
</head>
<body>
<iframe  src="
https://docs.google.com/spreadsheets/d/1SEikCo7W4JUuhDhn0C5eHvKWpRElSwbafUFbNokgjFM/edit?usp=sharing&widget=false&headers=false&chrome=false&range=webRange"&frameborder="1"&scrolling="yes"
 style="overflow:hidden;height:95%;width:45%;float:left;align="left">
</iframe>
<iframe src="index.html" frameborder="1" scrolling="yes"                          
  style="overflow: hidden; height: 95%;width: 47%; float: right;align="left">
</iframe>
</body>
</html>
0
Please help! I have 3 WD 1TB external harddrives, all formatted to Exfat. My mac ios 'saw' all three until recently, when it decided to not mount one of them - it doesn't show up in utilities either. I have done a search, but cannot format the drive as I need to back it up, and can only do this on my mac. I use the drive between windows and mac, but my laptop doesn't have enough memory to back up. So I need to back up via the mac that won't see my drive :(
0
We want to offer our customers the possibility to download their APN settings trough a browser.
Apple has a Configuration Utility, that works fine.

It seems to be an XML like binary, that includes the details of the APN settings.
When accessing this file in the default (Safari) browser, it asks if you wish to load the config. If so, it loads the APN settings into the phone.

Does Android offer the same option?
0
Hi,

My team has been developing various native mobile apps for the last number of years. I always perceived React Native (RN) in a negative manner, over the last number of years, as i felt the output wasn't native. However RN seems to have come a long way in the last 12 months.

I was speaking to someone recently who said that RN is fully native as it "spits out native code for both iOS and Android" once you write the Javascript code in RN... however most of the reading that I have read up on compares the performance for RN apps VS Native apps... if RN is native, then how and why would you compare?

Can anyone confirm the following please:

01 - does RN just output / execute Native iOS and Native Android, once you have completed your project in JS, in RN?

02 - does RN provide all of the same functions as Native iOS and Native Android?

03 - obviously RN will enable you to deliver an iOS and Android app in half the time as you only have one code base... but does writing the one code base actually take longer than writing one native app?

Thanks in advance for your help.
0
I've been trying to fix this for days now. Using Xamarin and Visual Studio, I deleted the asset catalogs/media folder then I used app icon set creator to create the icons. I then went into info.plist under visual assets and hit add catalog, then dragged the icons into the slots.

No matter how many times I try this I get the same error.

Since this is xamarin, I was told I have to create an IPA file and upload using ApplicationUploader.  The file uploads but then I get an email from Apple with a build file error shown above.

Does anyone know how to fix this?

thanks!!!!

Missing Info.plist value - A value for the Info.plist key 'CFBundleIconName' is missing in the bundle

Open in new window

0
How come on both Android and IOS platforms there is not an app that can record a phone call to local storage? Is this something that is not allowed by both systems? Thanks
0
Hi, I am a member of a website that has a number of AVI videos. I only use IPad Pro and do not own a pc/laptop.

I do not have access to ITunes. Is there a way I can watch these AVI movies directly from the website on my Ipad. I tried using VLC and input the http address but it does not seem to work.

Appreciate any assistance.
1
I saved CNContact in the form of vcf in the directory using following code

func generateVCard(for list: [CNContact]) {
        guard let directoryURL = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first else {
            return
        }

        var filename = NSUUID().uuidString

        // Create a human friendly file name if sharing a single contact.
        if let contact = list.first, list.count == 1 {

            if let fullname = CNContactFormatter().string(from: contact) {
                filename = fullname.components(separatedBy: " ").joined(separator: "")
            }
        }

        let fileURL = directoryURL.appendingPathComponent(filename).appendingPathExtension("vcf")

        let data: Data?
        do {
            data = try CNContactVCardSerialization.data(with: list)
            let documentDirectory = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false)
            let fileURLInDevice = documentDirectory.appendingPathComponent(filename).appendingPathExtension("vcf")

            do {
                try data?.write(to: fileURL, options: [.atomicWrite]);

                if let cnData = data {
                    //save to directory
                    try cnData.write(to: fileURLInDevice)

Open in new window


then I used the following code the to retrieve it back

let fileManager = FileManager.default
        let nsDocumentDirectory = FileManager.SearchPathDirectory.documentDirectory
        let nsUserDomainMask = FileManager.SearchPathDomainMask.userDomainMask
        let paths = NSSearchPathForDirectoriesInDomains(nsDocumentDirectory, nsUserDomainMask, true)
        guard let dirPath = paths.first else {
            return
        }
        let filePath = "\(dirPath)/\(fileName).vcf"
        do {
            let vc = ContactListTableViewController()
            if let data = fileManager.contents(atPath: filePath) {
                vc.contactsList = try CNContactVCardSerialization.contacts(with: data)

Open in new window


in this whole process i loose the imageData of each CNContact
0
Free Tool: Port Scanner
LVL 12
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Iam trying to upload an application to appstore .While validating, it shows itunes store operation failed.While uploading, it shows webservice content type is not json and could not connect to apple's webservice.Iam attaching its screenshot.Please help me.Validation imageUploading
0
I had this question after viewing Phone Can't Connect to Exchange Server.

Hi,

I used to receive my office Microsoft exchange e-mails on my phone but since 1st of April E-mails stopped coming through.

This happens to every user on the server, so nobody is receiving the emails on their regardless of whether its IOS or Android.  

Not sure the cause of it, does anyone faces problems like this and how to resolve this?

Few more details below :-

It's SBS2011 and Microsfot Exchange 2010.
0
When I try to upload an application.it shows this errors

webservice content type is not application/json
could not connect to apple's web service

Iam using native webservice calling.and Iam sending parameters as an appended string with utf8 encoding.

I set content type as form data

But still it shows these errors

Given below is my web service calling

 var data = [String]()
        for(key, value) in params!
        {
            data.append(key + "=\(value)")
        }
        let str = data.map { String($0) }.joined(separator: "&")
       
        print(str)
       
        let url = URL(string: strURL)!
        let session = URLSession.shared
        var request = URLRequest(url: url)
        request.httpMethod = "POST"

        request.httpBody = str.data(using: .utf8)
        request.addValue("application/x-www-form-urlencoded charset=utf-8", forHTTPHeaderField: "Content-Type")
        request.addValue("application/json", forHTTPHeaderField: "Accept")
        request.addValue("dfgdfgdgdfgdgdfg", forHTTPHeaderField: "Authorization")

        //create dataTask using the session object to send data to the server
        let task = session.dataTask(with: request as URLRequest, completionHandler: { data, response, error in
           
            guard error == nil else {
                return
            }
           
            guard let data = data else {
                return
            }
            …
0
While uploading an iOS Application,Xcode Shows Application uploaded Successfully.but it is not Shown in iTunesConnect. Is there any solution?
0
Hi, My Ipad app was developed using IOS and for database webservice was used,  It was developed 5 years before, Now few methods used in this are obsolete, because I got few warnings, However it was built sucessfully and I was able to create ipa file and I uploaded that ipa file on https://www.diawi.com/ and i was able to download and install
on IPad and its opening application but database is not working, I checked webservice individually and its function were working fine. But I am not sure why it's not working with Ipad app, Please help to figure out problem and from where I can take help.
0
Hey, we are building an app for a client which is for their internal use.

They have 200+ employees which will need to get / download the app.

What are the best / latest ways of distributing an app, outside of the app / play store?

Thanks in advance for your help.
0

iOS

iOS is a mobile operating system developed by Apple; it is a derivative of the Mac OS X desktop operating system, with which it shares many (but not all) common frameworks and other components. These include Cocoa Touch, the Mach/Darwin/XNU kernel and code from the Berkeley Software Distribution (BSD). Each iOS application runs in its own secure sandbox to prevent altering other applications, the operating system, or any other data.